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.001532/0.001532, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001462/0.001462, allocations: 216.2 kB / 23.73 MB, free: 4.406 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.456/1.456, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.2272/0.2272, allocations: 46.95 MB / 360.8 MB, free: 3.945 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.002377/0.002377, allocations: 79.88 kB / 0.4961 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3336, allocations: 66.08 MB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01582/0.3494, allocations: 10.49 MB / 0.5709 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009395/0.3588, allocations: 4.527 MB / 0.5753 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.3606, allocations: 99.5 kB / 0.5754 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005727/0.3663, allocations: 2.912 MB / 0.5783 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.3712, allocations: 2.043 MB / 0.5803 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.3733, allocations: 0.842 MB / 0.5811 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005656/0.3789, allocations: 4.108 MB / 0.5851 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003957/0.3829, allocations: 2.754 MB / 0.5878 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.386, allocations: 1.783 MB / 0.5895 GB, free: 6.344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003608/0.3896, allocations: 2.238 MB / 0.5917 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.3906, allocations: 312 kB / 0.592 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.3934, allocations: 1.1 MB / 0.5931 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002811/0.3962, allocations: 2.029 MB / 0.5951 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003487/0.3997, allocations: 1.673 MB / 0.5967 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.4099, allocations: 7.209 MB / 0.6038 GB, free: 7.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4099, allocations: 3.938 kB / 0.6038 GB, free: 7.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4099, allocations: 0 / 0.6038 GB, free: 7.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002229/0.4102, allocations: 0 / 0.6038 GB, free: 7.73 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.01311/0.4233, allocations: 5.399 MB / 0.609 GB, free: 2.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.4233, allocations: 11.97 kB / 0.609 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001825/0.4251, allocations: 0.7569 MB / 0.6098 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006819/0.432, allocations: 1.909 MB / 0.6116 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006567/0.4385, allocations: 2.673 MB / 0.6143 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.4388, allocations: 238.4 kB / 0.6145 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/0.44, allocations: 319.7 kB / 0.6148 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/0.4615, allocations: 11.22 MB / 0.6257 GB, free: 336 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.4616, allocations: 55.56 kB / 0.6258 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008521/0.4625, allocations: 147.8 kB / 0.6259 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004338/0.4668, allocations: 2.295 MB / 0.6282 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/0.4881, allocations: 9.85 MB / 0.6378 GB, free: 3.961 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06097/0.5491, allocations: 42.14 MB / 0.6789 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/0.5637, allocations: 5.166 MB / 0.684 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004713/0.5685, allocations: 2.948 MB / 0.6869 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0176/0.5861, allocations: 7.61 MB / 0.6943 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01076/0.5968, allocations: 3.394 MB / 0.6976 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=211): time 6.863e-06/0.5968, allocations: 0 / 0.6976 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=285): time 0.1205/0.7173, allocations: 33.64 MB / 0.7305 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.7175, allocations: 158.5 kB / 0.7306 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2512/0.9686, allocations: 4.423 MB / 0.7349 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007026/0.9693, allocations: 69.55 kB / 0.735 GB, free: 157 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003265/0.9726, allocations: 3.378 MB / 0.7383 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001463/0.9741, allocations: 1.098 MB / 0.7394 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002008/0.9761, allocations: 1.34 MB / 0.7407 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.9761, allocations: 305.1 kB / 0.741 GB, free: 154 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003916/0.98, allocations: 3.375 MB / 0.7443 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005576/0.9856, allocations: 6.976 MB / 0.7511 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.9961, allocations: 11.17 MB / 0.762 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/0.9962, allocations: 36 kB / 0.762 GB, free: 138 MB / 0.5606 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.01957/1.016, allocations: 12.58 MB / 0.7743 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/1.016, allocations: 60 kB / 0.7744 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.104e-05/1.016, allocations: 126.6 kB / 0.7745 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006147/1.022, allocations: 2.629 MB / 0.7771 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004862/1.027, allocations: 1.474 MB / 0.7785 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/1.05, allocations: 22.76 MB / 0.8007 GB, free: 99.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005493/1.056, allocations: 431.4 kB / 0.8011 GB, free: 99.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009773/1.057, allocations: 399.8 kB / 0.8015 GB, free: 98.9 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.003164/1.06, allocations: 2.229 MB / 0.8037 GB, free: 96.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007754/1.061, allocations: 421.2 kB / 0.8041 GB, free: 96.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/1.073, allocations: 8.009 MB / 0.8119 GB, free: 88.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.81e-05/1.073, allocations: 35.94 kB / 0.8119 GB, free: 88.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/1.073, allocations: 8 kB / 0.812 GB, free: 88.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/1.073, allocations: 11.95 kB / 0.812 GB, free: 88.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/1.095, allocations: 13.91 MB / 0.8255 GB, free: 74.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.064e-05/1.095, allocations: 1.078 kB / 0.8255 GB, free: 74.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/1.097, allocations: 407.5 kB / 0.8259 GB, free: 73.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005114/1.102, allocations: 2.301 MB / 0.8282 GB, free: 71.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004846/1.103, allocations: 55.98 kB / 0.8282 GB, free: 71.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02285/1.126, allocations: 22.56 MB / 0.8503 GB, free: 48.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.126, allocations: 8.125 kB / 0.8503 GB, free: 48.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/1.138, allocations: 8.139 MB / 0.8582 GB, free: 40.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.139, allocations: 396.9 kB / 0.8586 GB, free: 39.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008999/1.14, allocations: 44 kB / 0.8586 GB, free: 39.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/1.142, allocations: 211.7 kB / 0.8588 GB, free: 39.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006586/1.143, allocations: 209.5 kB / 0.859 GB, free: 39.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/1.143, allocations: 75.12 kB / 0.8591 GB, free: 39.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003462/1.147, allocations: 2.638 MB / 0.8617 GB, free: 36.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.147, allocations: 0 / 0.8617 GB, free: 36.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006375/1.153, allocations: 1.351 MB / 0.863 GB, free: 35.27 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 (191): * Single equations (assignments): 182 * 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%), (3,13,88.9%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01449/1.167, allocations: 9.143 MB / 0.8719 GB, free: 26.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01154/1.179, allocations: 8.513 MB / 0.8803 GB, free: 17.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.179, allocations: 0 / 0.8803 GB, free: 17.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00508/1.184, allocations: 3.785 MB / 0.884 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.187, allocations: 0.5 MB / 0.8844 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1003/1.287, allocations: 60.35 MB / 0.9434 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00447/1.291, allocations: 3.049 MB / 0.9464 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005208/1.297, allocations: 2.132 MB / 0.9484 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003279/1.3, allocations: 2.081 MB / 0.9505 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of SimCode: time 1.352e-06/1.3, allocations: 0 / 0.9505 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4282/1.728, allocations: 100.3 MB / 1.048 GB, free: 190.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.3/21.03, allocations: 15 kB / 1.048 GB, free: 190.9 MB / 0.6544 GB " [Timeout remaining time 639] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.02924567926675]