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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 79.86 kB / 480.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3662, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.02297/0.3892, allocations: 11.98 MB / 0.5422 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.4051, allocations: 4.745 MB / 0.5468 GB, free: 328 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004001/0.4091, allocations: 80.62 kB / 0.5469 GB, free: 312 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006486/0.4157, allocations: 2.988 MB / 0.5498 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006226/0.422, allocations: 1.969 MB / 0.5517 GB, free: 12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.4244, allocations: 0.8381 MB / 0.5525 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006925/0.4313, allocations: 4.107 MB / 0.5566 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004069/0.4354, allocations: 3.313 MB / 0.5598 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.4384, allocations: 1.74 MB / 0.5615 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/0.4417, allocations: 2.173 MB / 0.5636 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007676/0.4425, allocations: 312 kB / 0.5639 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.4451, allocations: 1.202 MB / 0.5651 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001973/0.4471, allocations: 1.987 MB / 0.567 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002459/0.4495, allocations: 2.275 MB / 0.5692 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007781/0.4573, allocations: 7.135 MB / 0.5762 GB, free: 2.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4574, allocations: 0 / 0.5762 GB, free: 2.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4574, allocations: 0 / 0.5762 GB, free: 2.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001586/0.4575, allocations: 0 / 0.5762 GB, free: 2.809 MB / 430.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.01073/0.4683, allocations: 5.346 MB / 0.5814 GB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.4683, allocations: 12.03 kB / 0.5814 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009904/0.4693, allocations: 0.753 MB / 0.5822 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006222/0.4756, allocations: 1.878 MB / 0.584 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006295/0.4819, allocations: 2.777 MB / 0.5867 GB, free: 7.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.4821, allocations: 234 kB / 0.587 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007516/0.4828, allocations: 319.7 kB / 0.5873 GB, free: 7.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/0.5035, allocations: 11.19 MB / 0.5982 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/0.5038, allocations: 47.53 kB / 0.5982 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009352/0.5047, allocations: 159.8 kB / 0.5984 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004218/0.5089, allocations: 2.291 MB / 0.6006 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02238/0.5313, allocations: 9.862 MB / 0.6102 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07008/0.6015, allocations: 44.13 MB / 0.6533 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/0.6161, allocations: 5.82 MB / 0.659 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004351/0.6205, allocations: 3.243 MB / 0.6622 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01632/0.6368, allocations: 9.352 MB / 0.6713 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01038/0.6472, allocations: 3.373 MB / 0.6746 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=211): time 7.985e-06/0.6473, allocations: 0 / 0.6746 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=285): time 0.1228/0.7701, allocations: 33.4 MB / 0.7072 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.7702, allocations: 162.5 kB / 0.7074 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/0.7804, allocations: 4.198 MB / 0.7115 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000782/0.7812, allocations: 73.62 kB / 0.7116 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003959/0.7852, allocations: 3.247 MB / 0.7147 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001901/0.7871, allocations: 1.049 MB / 0.7158 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3231/1.11, allocations: 1.333 MB / 0.7171 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.286e-05/1.11, allocations: 303.5 kB / 0.7174 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006089/1.117, allocations: 3.373 MB / 0.7206 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0072/1.124, allocations: 6.973 MB / 0.7275 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/1.136, allocations: 11.17 MB / 0.7384 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001763/1.136, allocations: 35.59 kB / 0.7384 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02308/1.159, allocations: 12.59 MB / 0.7507 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001997/1.159, allocations: 56 kB / 0.7507 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002479/1.16, allocations: 124 kB / 0.7509 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006863/1.166, allocations: 2.643 MB / 0.7534 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005541/1.172, allocations: 1.474 MB / 0.7549 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02557/1.198, allocations: 23.38 MB / 0.7777 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00669/1.204, allocations: 431.8 kB / 0.7781 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/1.206, allocations: 389.4 kB / 0.7785 GB, free: 116.4 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.005114/1.211, allocations: 2.24 MB / 0.7807 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/1.212, allocations: 402.4 kB / 0.7811 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.227, allocations: 8.021 MB / 0.7889 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.704e-05/1.227, allocations: 32 kB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.669e-05/1.227, allocations: 11.94 kB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.415e-05/1.227, allocations: 11.95 kB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02897/1.256, allocations: 14.61 MB / 0.8032 GB, free: 91.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/1.256, allocations: 0 / 0.8032 GB, free: 91.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/1.259, allocations: 403.3 kB / 0.8036 GB, free: 90.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005298/1.264, allocations: 2.312 MB / 0.8059 GB, free: 88.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004862/1.265, allocations: 51.83 kB / 0.8059 GB, free: 88.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02383/1.288, allocations: 23.13 MB / 0.8285 GB, free: 64.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.288, allocations: 11 kB / 0.8285 GB, free: 64.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/1.304, allocations: 8.149 MB / 0.8365 GB, free: 56.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.306, allocations: 443.7 kB / 0.8369 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001223/1.307, allocations: 44 kB / 0.8369 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002805/1.31, allocations: 215.7 kB / 0.8371 GB, free: 55.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009442/1.311, allocations: 193.6 kB / 0.8373 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003819/1.311, allocations: 75.98 kB / 0.8374 GB, free: 55.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00651/1.317, allocations: 2.63 MB / 0.84 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.317, allocations: 0 / 0.84 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008529/1.326, allocations: 1.345 MB / 0.8413 GB, free: 51.71 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%), (3,13,88.9%), (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.01555/1.342, allocations: 9.103 MB / 0.8502 GB, free: 42.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01312/1.355, allocations: 8.882 MB / 0.8588 GB, free: 33.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/1.355, allocations: 384 / 0.8588 GB, free: 33.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006186/1.361, allocations: 4.101 MB / 0.8628 GB, free: 29.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004561/1.366, allocations: 0.4921 MB / 0.8633 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1131/1.479, allocations: 60.14 MB / 0.922 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007375/1.486, allocations: 3.584 MB / 0.9255 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006972/1.493, allocations: 2.129 MB / 0.9276 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004547/1.498, allocations: 2.085 MB / 0.9297 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of SimCode: time 1.734e-06/1.498, allocations: 0 / 0.9297 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.461/1.959, allocations: 102.2 MB / 1.029 GB, free: 150.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.58/23.54, allocations: 19.86 kB / 1.029 GB, free: 150.9 MB / 0.6231 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches