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.001688/0.001688, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002162/0.002162, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2411/0.2411, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003614/0.003614, allocations: 83.84 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4067, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01528/0.422, allocations: 11.97 MB / 0.5423 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.4332, allocations: 4.746 MB / 0.5469 GB, free: 256 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002936/0.4362, allocations: 80.22 kB / 0.547 GB, free: 240 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00615/0.4423, allocations: 2.989 MB / 0.5499 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005957/0.4484, allocations: 1.969 MB / 0.5518 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.4509, allocations: 0.842 MB / 0.5527 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006994/0.4579, allocations: 4.108 MB / 0.5567 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005012/0.4629, allocations: 3.305 MB / 0.5599 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.4669, allocations: 1.744 MB / 0.5616 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.4706, allocations: 2.173 MB / 0.5637 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.4717, allocations: 312 kB / 0.564 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.4748, allocations: 1.186 MB / 0.5652 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002598/0.4774, allocations: 1.932 MB / 0.5671 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003102/0.4806, allocations: 2.283 MB / 0.5693 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.4908, allocations: 7.166 MB / 0.5763 GB, free: 2.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4908, allocations: 4 kB / 0.5763 GB, free: 2.742 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4908, allocations: 0 / 0.5763 GB, free: 2.742 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002365/0.4911, allocations: 0 / 0.5763 GB, free: 2.742 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.01315/0.5042, allocations: 5.482 MB / 0.5817 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.5043, allocations: 8.031 kB / 0.5817 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001264/0.5056, allocations: 0.7491 MB / 0.5824 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006468/0.5121, allocations: 1.912 MB / 0.5843 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005997/0.5181, allocations: 2.79 MB / 0.587 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.5184, allocations: 238 kB / 0.5872 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.5195, allocations: 319.8 kB / 0.5875 GB, free: 7.094 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/0.5422, allocations: 11.19 MB / 0.5985 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001465/0.5424, allocations: 47.58 kB / 0.5985 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004872/0.5429, allocations: 147.8 kB / 0.5986 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004291/0.5472, allocations: 2.299 MB / 0.6009 GB, free: 8.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0218/0.569, allocations: 9.87 MB / 0.6105 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06037/0.6294, allocations: 44.19 MB / 0.6537 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/0.6437, allocations: 5.824 MB / 0.6594 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004386/0.6481, allocations: 3.25 MB / 0.6625 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01427/0.6624, allocations: 9.357 MB / 0.6717 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01055/0.673, allocations: 3.373 MB / 0.675 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=211): time 4.689e-06/0.6731, allocations: 0 / 0.675 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=285): time 0.1185/0.7916, allocations: 33.66 MB / 0.7078 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.7918, allocations: 154.5 kB / 0.708 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006586/0.7984, allocations: 4.211 MB / 0.7121 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007074/0.7991, allocations: 73.7 kB / 0.7122 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003258/0.8024, allocations: 3.37 MB / 0.7155 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00168/0.8041, allocations: 1.093 MB / 0.7165 GB, free: 332 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2719/1.076, allocations: 1.339 MB / 0.7178 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.287e-05/1.076, allocations: 301.7 kB / 0.7181 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005411/1.082, allocations: 3.371 MB / 0.7214 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00643/1.088, allocations: 6.975 MB / 0.7282 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/1.099, allocations: 11.16 MB / 0.7391 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/1.099, allocations: 34.75 kB / 0.7392 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.0183/1.117, allocations: 12.61 MB / 0.7515 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.192e-05/1.118, allocations: 63.56 kB / 0.7515 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-05/1.118, allocations: 124.9 kB / 0.7517 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006109/1.124, allocations: 2.645 MB / 0.7542 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004793/1.129, allocations: 1.47 MB / 0.7557 GB, free: 140 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02301/1.152, allocations: 23.39 MB / 0.7785 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005588/1.157, allocations: 430.3 kB / 0.7789 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.158, allocations: 387.9 kB / 0.7793 GB, free: 115.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.003342/1.162, allocations: 2.245 MB / 0.7815 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/1.163, allocations: 423.1 kB / 0.7819 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.175, allocations: 8.015 MB / 0.7897 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.541e-05/1.175, allocations: 33.31 kB / 0.7898 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/1.175, allocations: 11.94 kB / 0.7898 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.17e-05/1.175, allocations: 11.95 kB / 0.7898 GB, free: 105 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/1.195, allocations: 14.6 MB / 0.804 GB, free: 90.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.195, allocations: 7.984 kB / 0.804 GB, free: 90.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/1.197, allocations: 399.4 kB / 0.8044 GB, free: 89.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005058/1.202, allocations: 2.309 MB / 0.8067 GB, free: 87.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004036/1.203, allocations: 52 kB / 0.8067 GB, free: 87.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02237/1.225, allocations: 23.15 MB / 0.8293 GB, free: 63.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.225, allocations: 7.938 kB / 0.8293 GB, free: 63.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.237, allocations: 8.166 MB / 0.8373 GB, free: 55.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009932/1.238, allocations: 457.6 kB / 0.8378 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007243/1.239, allocations: 47.98 kB / 0.8378 GB, free: 55.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/1.241, allocations: 219.7 kB / 0.838 GB, free: 54.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000663/1.242, allocations: 202.3 kB / 0.8382 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/1.242, allocations: 71.83 kB / 0.8383 GB, free: 54.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002849/1.245, allocations: 2.638 MB / 0.8409 GB, free: 51.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/1.245, allocations: 0 / 0.8409 GB, free: 51.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004983/1.25, allocations: 1.344 MB / 0.8422 GB, free: 50.66 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.01305/1.263, allocations: 9.119 MB / 0.8511 GB, free: 41.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.275, allocations: 8.884 MB / 0.8597 GB, free: 32.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.275, allocations: 0 / 0.8597 GB, free: 32.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005266/1.28, allocations: 4.107 MB / 0.8638 GB, free: 28.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.282, allocations: 0.496 MB / 0.8642 GB, free: 28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09281/1.375, allocations: 60.32 MB / 0.9231 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004755/1.38, allocations: 3.578 MB / 0.9266 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004918/1.385, allocations: 2.136 MB / 0.9287 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003137/1.388, allocations: 2.073 MB / 0.9308 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of SimCode: time 1.192e-06/1.388, allocations: 3.938 kB / 0.9308 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4441/1.832, allocations: 100.4 MB / 1.029 GB, free: 151.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.74/23.57, allocations: 11.61 kB / 1.029 GB, free: 151.5 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