Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008954/0.0008954, allocations: 174.1 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.188/1.188, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000727/0.0007269, allocations: 86.36 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.281/0.281, allocations: 43.56 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 20 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.0978, allocations: 58.84 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.1824/0.2802, allocations: 27.13 MB / 0.5059 GB, free: 31.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.2923, allocations: 6.434 MB / 0.5122 GB, free: 26.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004725/0.2971, allocations: 120.6 kB / 0.5123 GB, free: 26.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00351/0.3006, allocations: 1.293 MB / 0.5136 GB, free: 26.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008871/0.3095, allocations: 4.048 MB / 0.5175 GB, free: 24.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.3112, allocations: 450.2 kB / 0.518 GB, free: 24.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004239/0.3155, allocations: 4.036 MB / 0.5219 GB, free: 23.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003252/0.3188, allocations: 2.385 MB / 0.5242 GB, free: 22.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.3205, allocations: 1.048 MB / 0.5252 GB, free: 21.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.3226, allocations: 1.702 MB / 0.5269 GB, free: 21.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007162/0.3234, allocations: 134.5 kB / 0.527 GB, free: 21.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.3253, allocations: 0.8863 MB / 0.5279 GB, free: 21.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.3269, allocations: 1.498 MB / 0.5294 GB, free: 20.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002283/0.3293, allocations: 1.741 MB / 0.5311 GB, free: 19.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006016/0.3353, allocations: 4.816 MB / 0.5358 GB, free: 18.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3353, allocations: 0 / 0.5358 GB, free: 18.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3353, allocations: 7.25 kB / 0.5358 GB, free: 18.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002264/0.3356, allocations: 0 / 0.5358 GB, free: 18.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.007123/0.3427, allocations: 3.476 MB / 0.5392 GB, free: 16.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3428, allocations: 15.91 kB / 0.5392 GB, free: 16.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0019/0.3447, allocations: 0.7279 MB / 0.5399 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.3551, allocations: 3.176 MB / 0.543 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004749/0.3599, allocations: 2.355 MB / 0.5453 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.3601, allocations: 192.8 kB / 0.5455 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/0.3613, allocations: 261.1 kB / 0.5457 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.378, allocations: 10.68 MB / 0.5562 GB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.3781, allocations: 26.12 kB / 0.5562 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009305/0.3791, allocations: 124 kB / 0.5563 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004064/0.3832, allocations: 2.647 MB / 0.5589 GB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.4008, allocations: 9.986 MB / 0.5686 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05184/0.4527, allocations: 35.32 MB / 0.6031 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009829/0.4626, allocations: 5.165 MB / 0.6082 GB, free: 432 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/0.4659, allocations: 2.291 MB / 0.6104 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/0.4677, allocations: 1.88 MB / 0.6123 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.4678, allocations: 56.5 kB / 0.6123 GB, free: 11.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 6.312e-06/0.4678, allocations: 0 / 0.6123 GB, free: 11.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.0328/0.5006, allocations: 14.01 MB / 0.626 GB, free: 13.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.5007, allocations: 69.41 kB / 0.6261 GB, free: 13.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004534/0.5053, allocations: 2.673 MB / 0.6287 GB, free: 11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003268/0.5056, allocations: 53.7 kB / 0.6287 GB, free: 10.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.5075, allocations: 2.709 MB / 0.6314 GB, free: 8.199 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009815/0.5085, allocations: 0.8517 MB / 0.6322 GB, free: 7.336 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004036/0.5089, allocations: 104 kB / 0.6323 GB, free: 7.234 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004281/0.5093, allocations: 0.5332 MB / 0.6328 GB, free: 6.695 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00345/0.5128, allocations: 2.185 MB / 0.635 GB, free: 4.504 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005134/0.5179, allocations: 5.111 MB / 0.6399 GB, free: 13.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009069/0.527, allocations: 8.011 MB / 0.6478 GB, free: 4.527 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.654e-05/0.5272, allocations: 32 kB / 0.6478 GB, free: 4.496 MB / 474.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01416/0.5413, allocations: 7.898 MB / 0.6555 GB, free: 12.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.5415, allocations: 48 kB / 0.6556 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/0.5416, allocations: 100.9 kB / 0.6557 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/0.5439, allocations: 0.7928 MB / 0.6564 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003752/0.5477, allocations: 1.201 MB / 0.6576 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005241/0.553, allocations: 4.203 MB / 0.6617 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/0.5561, allocations: 299.7 kB / 0.662 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006382/0.5568, allocations: 304 kB / 0.6623 GB, free: 5.508 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (640): * Single equations (assignments): 633 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003547/0.5603, allocations: 2.055 MB / 0.6643 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004538/0.5608, allocations: 268.5 kB / 0.6645 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007816/0.5686, allocations: 4.722 MB / 0.6692 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.014e-05/0.5687, allocations: 43.98 kB / 0.6692 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.5687, allocations: 0 / 0.6692 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.5687, allocations: 7.969 kB / 0.6692 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/0.5859, allocations: 10.58 MB / 0.6795 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.586, allocations: 8 kB / 0.6795 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.5875, allocations: 363.4 kB / 0.6799 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/0.5895, allocations: 0.6486 MB / 0.6805 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.5897, allocations: 51.91 kB / 0.6806 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1955/0.7852, allocations: 3.651 MB / 0.6841 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/0.7853, allocations: 12.16 kB / 0.6841 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/0.8016, allocations: 7.114 MB / 0.6911 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/0.8038, allocations: 0.6479 MB / 0.6917 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009024/0.8047, allocations: 44.81 kB / 0.6918 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/0.8068, allocations: 139.9 kB / 0.6919 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005977/0.8074, allocations: 135.5 kB / 0.692 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/0.8076, allocations: 66.94 kB / 0.6921 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003125/0.8108, allocations: 1.63 MB / 0.6937 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8108, allocations: 0 / 0.6937 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005819/0.8166, allocations: 0.9392 MB / 0.6946 GB, free: 150.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01246/0.8291, allocations: 7.769 MB / 0.7022 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009083/0.8382, allocations: 5.343 MB / 0.7074 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.8383, allocations: 10.66 kB / 0.7074 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.8409, allocations: 2.008 MB / 0.7094 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/0.8448, allocations: 340.9 kB / 0.7097 GB, free: 145 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04107/0.8859, allocations: 30.06 MB / 0.7391 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003144/0.8891, allocations: 3.234 MB / 0.7422 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002018/0.8911, allocations: 1.804 MB / 0.744 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.8911, allocations: 0 / 0.744 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.202/7.094, allocations: 84.75 MB / 0.8267 GB, free: 42.11 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches