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.001146/0.001146, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2458/0.2458, allocations: 46.11 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 82.45 kB / 416.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1319, allocations: 62.44 MB / 479.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.291/0.423, allocations: 46.63 MB / 0.5137 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02773/0.4507, allocations: 10.4 MB / 0.5238 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01347/0.4642, allocations: 213.1 kB / 0.524 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007039/0.4713, allocations: 2.973 MB / 0.5269 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006741/0.4781, allocations: 1.829 MB / 0.5287 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.4811, allocations: 0.772 MB / 0.5295 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009541/0.4906, allocations: 5.887 MB / 0.5352 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005752/0.4964, allocations: 3.257 MB / 0.5384 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/0.5006, allocations: 1.622 MB / 0.54 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004102/0.5047, allocations: 2.322 MB / 0.5423 GB, free: 304 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.506, allocations: 235.1 kB / 0.5425 GB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.5095, allocations: 1.178 MB / 0.5436 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002911/0.5124, allocations: 1.893 MB / 0.5455 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004337/0.5168, allocations: 2.211 MB / 0.5476 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008874/0.5257, allocations: 6.824 MB / 0.5543 GB, free: 5.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5257, allocations: 0 / 0.5543 GB, free: 5.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5257, allocations: 0 / 0.5543 GB, free: 5.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003029/0.526, allocations: 0 / 0.5543 GB, free: 5.867 MB / 398.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.01497/0.541, allocations: 5.338 MB / 0.5595 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5411, allocations: 8.875 kB / 0.5595 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001904/0.543, allocations: 0.7506 MB / 0.5603 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006445/0.5494, allocations: 1.892 MB / 0.5621 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005253/0.5547, allocations: 2.694 MB / 0.5647 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002474/0.555, allocations: 247 kB / 0.565 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000638/0.5556, allocations: 311.4 kB / 0.5653 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01817/0.5738, allocations: 11.19 MB / 0.5762 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.5739, allocations: 51.62 kB / 0.5763 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003937/0.5743, allocations: 150.8 kB / 0.5764 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003832/0.5782, allocations: 2.302 MB / 0.5786 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.5971, allocations: 9.865 MB / 0.5883 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06324/0.6604, allocations: 44.31 MB / 0.6315 GB, free: 5.293 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/0.6746, allocations: 5.828 MB / 0.6372 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004236/0.6788, allocations: 3.247 MB / 0.6404 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.015/0.6939, allocations: 9.348 MB / 0.6495 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01024/0.7041, allocations: 3.379 MB / 0.6528 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=211): time 7.114e-06/0.7042, allocations: 0 / 0.6528 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=285): time 0.1199/0.8241, allocations: 33.4 MB / 0.6855 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.8242, allocations: 162.5 kB / 0.6856 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006876/0.8311, allocations: 4.202 MB / 0.6897 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005427/0.8317, allocations: 65.7 kB / 0.6898 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002736/0.8344, allocations: 3.256 MB / 0.693 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.8357, allocations: 1.045 MB / 0.694 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002616/0.8383, allocations: 1.329 MB / 0.6953 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.8384, allocations: 305.1 kB / 0.6956 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005139/0.8436, allocations: 3.37 MB / 0.6989 GB, free: 15.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007908/0.8515, allocations: 6.975 MB / 0.7057 GB, free: 7.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2541/1.106, allocations: 11.16 MB / 0.7166 GB, free: 188.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001426/1.106, allocations: 36.53 kB / 0.7166 GB, free: 188.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02736/1.133, allocations: 12.59 MB / 0.7289 GB, free: 184.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.133, allocations: 58.98 kB / 0.729 GB, free: 184.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000211/1.134, allocations: 128.6 kB / 0.7291 GB, free: 184.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007515/1.141, allocations: 2.632 MB / 0.7316 GB, free: 184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005579/1.147, allocations: 1.477 MB / 0.7331 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02465/1.171, allocations: 21.63 MB / 0.7542 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00641/1.178, allocations: 432.6 kB / 0.7546 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007208/1.179, allocations: 387.8 kB / 0.755 GB, free: 172.3 MB / 0.545 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.003545/1.182, allocations: 2.239 MB / 0.7572 GB, free: 170.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007197/1.183, allocations: 404.9 kB / 0.7576 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.195, allocations: 8.012 MB / 0.7654 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.914e-05/1.195, allocations: 32 kB / 0.7654 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/1.195, allocations: 8 kB / 0.7654 GB, free: 162.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.914e-05/1.195, allocations: 15.95 kB / 0.7654 GB, free: 162.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/1.218, allocations: 14.79 MB / 0.7799 GB, free: 148.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/1.218, allocations: 8.031 kB / 0.7799 GB, free: 148.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/1.22, allocations: 399.3 kB / 0.7803 GB, free: 147.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005662/1.226, allocations: 2.434 MB / 0.7826 GB, free: 145.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003466/1.226, allocations: 55.94 kB / 0.7827 GB, free: 145.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/1.248, allocations: 21.35 MB / 0.8035 GB, free: 123.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.248, allocations: 0 / 0.8035 GB, free: 123.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/1.261, allocations: 8.121 MB / 0.8115 GB, free: 115.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.262, allocations: 439.7 kB / 0.8119 GB, free: 114.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005706/1.262, allocations: 51.98 kB / 0.8119 GB, free: 114.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.264, allocations: 216.5 kB / 0.8122 GB, free: 114.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007856/1.265, allocations: 193.1 kB / 0.8123 GB, free: 114.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/1.265, allocations: 71.83 kB / 0.8124 GB, free: 114.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003354/1.269, allocations: 2.634 MB / 0.815 GB, free: 111.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.269, allocations: 4 kB / 0.815 GB, free: 111.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005212/1.274, allocations: 1.345 MB / 0.8163 GB, free: 110.3 MB / 0.545 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.01265/1.287, allocations: 9.097 MB / 0.8252 GB, free: 101.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.012/1.299, allocations: 8.851 MB / 0.8338 GB, free: 92.33 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.299, allocations: 0 / 0.8338 GB, free: 92.33 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005194/1.304, allocations: 4.095 MB / 0.8378 GB, free: 88.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/1.307, allocations: 482.2 kB / 0.8383 GB, free: 87.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09427/1.401, allocations: 69.74 MB / 0.9064 GB, free: 9.781 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00375/1.405, allocations: 3.577 MB / 0.9099 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004999/1.41, allocations: 2.148 MB / 0.912 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00265/1.412, allocations: 2.073 MB / 0.914 GB, free: 1.953 MB / 0.545 GB Notification: Performance of SimCode: time 1.953e-06/1.412, allocations: 0 / 0.914 GB, free: 1.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.382/1.794, allocations: 101.8 MB / 1.013 GB, free: 110.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/1.795, allocations: 278.8 kB / 1.014 GB, free: 110.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.938/6.733, allocations: 4 kB / 1.014 GB, free: 110.2 MB / 0.545 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