Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.92 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 75.88 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3577, allocations: 66.08 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01478/0.3725, allocations: 12.06 MB / 0.5725 GB, free: 8.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009561/0.382, allocations: 4.809 MB / 0.5772 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.3838, allocations: 95.5 kB / 0.5773 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006028/0.3898, allocations: 3.037 MB / 0.5802 GB, free: 224 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005604/0.3954, allocations: 2.038 MB / 0.5822 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.3979, allocations: 0.8381 MB / 0.5831 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006924/0.4048, allocations: 4.111 MB / 0.5871 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004647/0.4095, allocations: 2.769 MB / 0.5898 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003612/0.4131, allocations: 1.783 MB / 0.5915 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00421/0.4173, allocations: 2.363 MB / 0.5938 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.4184, allocations: 312 kB / 0.5941 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.4216, allocations: 1.237 MB / 0.5953 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002983/0.4246, allocations: 2.029 MB / 0.5973 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00423/0.4289, allocations: 2.279 MB / 0.5995 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.4395, allocations: 7.177 MB / 0.6065 GB, free: 5.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4395, allocations: 0 / 0.6065 GB, free: 5.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4395, allocations: 0 / 0.6065 GB, free: 5.156 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003015/0.4398, allocations: 0 / 0.6065 GB, free: 5.156 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01416/0.454, allocations: 5.417 MB / 0.6118 GB, free: 15.67 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.454, allocations: 8.031 kB / 0.6118 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001847/0.4559, allocations: 0.753 MB / 0.6126 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006605/0.4625, allocations: 1.905 MB / 0.6144 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005912/0.4684, allocations: 2.703 MB / 0.6171 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.4686, allocations: 239.1 kB / 0.6173 GB, free: 9.996 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009024/0.4695, allocations: 311.8 kB / 0.6176 GB, free: 9.691 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/0.49, allocations: 11.19 MB / 0.6285 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.4902, allocations: 55.58 kB / 0.6286 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004394/0.4906, allocations: 155.8 kB / 0.6287 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004066/0.4947, allocations: 2.291 MB / 0.631 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/0.5147, allocations: 9.866 MB / 0.6406 GB, free: 1.363 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05845/0.5731, allocations: 44.1 MB / 0.6837 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/0.5865, allocations: 5.135 MB / 0.6887 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004044/0.5906, allocations: 2.94 MB / 0.6915 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01388/0.6044, allocations: 8.194 MB / 0.6996 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01006/0.6145, allocations: 3.369 MB / 0.7028 GB, free: 296 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=211): time 4.469e-06/0.6145, allocations: 0 / 0.7028 GB, free: 296 kB / 0.5294 GB Notification: Performance of matching and sorting (n=285): time 0.3877/1.002, allocations: 33.47 MB / 0.7355 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/1.002, allocations: 160.6 kB / 0.7357 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006135/1.008, allocations: 4.209 MB / 0.7398 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007743/1.009, allocations: 70.14 kB / 0.7399 GB, free: 154 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002023/1.011, allocations: 3.377 MB / 0.7432 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001188/1.012, allocations: 1.089 MB / 0.7442 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001724/1.014, allocations: 1.344 MB / 0.7455 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.629e-05/1.014, allocations: 308 kB / 0.7458 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00352/1.018, allocations: 3.369 MB / 0.7491 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005822/1.024, allocations: 6.972 MB / 0.7559 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/1.035, allocations: 11.17 MB / 0.7668 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.174e-05/1.035, allocations: 39.84 kB / 0.7669 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.01942/1.054, allocations: 12.57 MB / 0.7791 GB, free: 123 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/1.054, allocations: 56 kB / 0.7792 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/1.054, allocations: 124 kB / 0.7793 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006044/1.06, allocations: 2.64 MB / 0.7819 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004643/1.065, allocations: 1.482 MB / 0.7833 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02362/1.089, allocations: 22.97 MB / 0.8058 GB, free: 95.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/1.094, allocations: 439.7 kB / 0.8062 GB, free: 94.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/1.095, allocations: 392.9 kB / 0.8066 GB, free: 94.47 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 753 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,27)} Notification: Performance of prepare postOptimizeDAE: time 0.004717/1.1, allocations: 2.234 MB / 0.8087 GB, free: 92.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.101, allocations: 421.2 kB / 0.8092 GB, free: 91.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/1.115, allocations: 7.972 MB / 0.8169 GB, free: 83.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.79e-05/1.115, allocations: 32 kB / 0.817 GB, free: 83.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-05/1.116, allocations: 11.94 kB / 0.817 GB, free: 83.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.664e-05/1.116, allocations: 11.95 kB / 0.817 GB, free: 83.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/1.14, allocations: 14.53 MB / 0.8312 GB, free: 69.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/1.14, allocations: 3.938 kB / 0.8312 GB, free: 69.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.142, allocations: 407.5 kB / 0.8316 GB, free: 68.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005169/1.147, allocations: 2.304 MB / 0.8338 GB, free: 66.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004491/1.148, allocations: 51.98 kB / 0.8339 GB, free: 66.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02357/1.171, allocations: 22.78 MB / 0.8561 GB, free: 43.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/1.171, allocations: 0 / 0.8561 GB, free: 43.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/1.185, allocations: 8.121 MB / 0.864 GB, free: 35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.187, allocations: 385 kB / 0.8644 GB, free: 34.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.188, allocations: 44 kB / 0.8645 GB, free: 34.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002672/1.191, allocations: 219.7 kB / 0.8647 GB, free: 34.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000883/1.191, allocations: 201.6 kB / 0.8649 GB, free: 34.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004307/1.192, allocations: 79.66 kB / 0.8649 GB, free: 34.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004646/1.197, allocations: 2.63 MB / 0.8675 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.197, allocations: 192 / 0.8675 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00632/1.203, allocations: 1.344 MB / 0.8688 GB, free: 30.11 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 179 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (3,13,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01521/1.218, allocations: 9.099 MB / 0.8777 GB, free: 21.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01204/1.23, allocations: 8.497 MB / 0.886 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.23, allocations: 8.062 kB / 0.886 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005301/1.235, allocations: 3.765 MB / 0.8897 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/1.239, allocations: 0.4935 MB / 0.8902 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1094/1.348, allocations: 60.34 MB / 0.9491 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005883/1.354, allocations: 3.574 MB / 0.9526 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005732/1.36, allocations: 2.14 MB / 0.9547 GB, free: 168 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003912/1.364, allocations: 2.085 MB / 0.9567 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of SimCode: time 8.21e-07/1.364, allocations: 0 / 0.9567 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4323/1.796, allocations: 107 MB / 1.061 GB, free: 178.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.29/25.09, allocations: 0.9375 kB / 1.061 GB, free: 178.2 MB / 0.6544 GB " [Timeout remaining time 635] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/PlanarLoopWithMove/PlanarLoopWithMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 29.21325454209]