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.001209/0.001209, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2637/0.2637, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 75.88 kB / 480.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3597, allocations: 62.43 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01229/0.372, allocations: 11.97 MB / 0.5422 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009271/0.3813, allocations: 4.749 MB / 0.5468 GB, free: 220 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.3839, allocations: 80.34 kB / 0.5469 GB, free: 204 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005635/0.3895, allocations: 2.988 MB / 0.5498 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00627/0.3959, allocations: 2.023 MB / 0.5518 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003222/0.3991, allocations: 0.8459 MB / 0.5526 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007561/0.4067, allocations: 4.111 MB / 0.5566 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005335/0.4121, allocations: 3.296 MB / 0.5598 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.416, allocations: 1.752 MB / 0.5616 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003758/0.4198, allocations: 2.18 MB / 0.5637 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00141/0.4213, allocations: 312 kB / 0.564 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.4245, allocations: 1.19 MB / 0.5651 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002685/0.4272, allocations: 1.987 MB / 0.5671 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004055/0.4313, allocations: 2.275 MB / 0.5693 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.442, allocations: 7.174 MB / 0.5763 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.4421, allocations: 0 / 0.5763 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4421, allocations: 8 kB / 0.5763 GB, free: 2.594 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003547/0.4425, allocations: 0 / 0.5763 GB, free: 2.594 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.01453/0.457, allocations: 5.478 MB / 0.5817 GB, free: 13.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.4571, allocations: 12.03 kB / 0.5817 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001919/0.459, allocations: 0.753 MB / 0.5824 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007083/0.4661, allocations: 1.909 MB / 0.5843 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007019/0.4732, allocations: 2.786 MB / 0.587 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.4734, allocations: 238 kB / 0.5872 GB, free: 7.262 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.4748, allocations: 311.8 kB / 0.5875 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02301/0.4978, allocations: 11.19 MB / 0.5985 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002311/0.4981, allocations: 51.58 kB / 0.5985 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/0.4995, allocations: 147.8 kB / 0.5987 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004401/0.5039, allocations: 2.302 MB / 0.6009 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02113/0.525, allocations: 9.866 MB / 0.6105 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06138/0.5865, allocations: 44.19 MB / 0.6537 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01466/0.6012, allocations: 5.817 MB / 0.6594 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004254/0.6055, allocations: 3.245 MB / 0.6625 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01571/0.6212, allocations: 9.369 MB / 0.6717 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01077/0.6321, allocations: 3.369 MB / 0.675 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=211): time 6.452e-06/0.6321, allocations: 0 / 0.675 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=285): time 0.1213/0.7534, allocations: 33.66 MB / 0.7078 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.7535, allocations: 162.5 kB / 0.708 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007363/0.7609, allocations: 4.207 MB / 0.7121 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000764/0.7617, allocations: 69.7 kB / 0.7122 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002863/0.7646, allocations: 3.378 MB / 0.7155 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001505/0.7661, allocations: 1.093 MB / 0.7165 GB, free: 184 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2694/1.035, allocations: 1.338 MB / 0.7179 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.242e-05/1.036, allocations: 301.7 kB / 0.7181 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004902/1.04, allocations: 3.371 MB / 0.7214 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007064/1.048, allocations: 6.972 MB / 0.7282 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/1.058, allocations: 11.17 MB / 0.7391 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001481/1.059, allocations: 38.22 kB / 0.7392 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.01924/1.078, allocations: 12.61 MB / 0.7515 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/1.078, allocations: 60 kB / 0.7516 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/1.078, allocations: 124 kB / 0.7517 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006091/1.084, allocations: 2.638 MB / 0.7542 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004661/1.089, allocations: 1.47 MB / 0.7557 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02296/1.112, allocations: 23.39 MB / 0.7785 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005421/1.117, allocations: 440.6 kB / 0.7789 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/1.118, allocations: 391.9 kB / 0.7793 GB, free: 115.3 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.003295/1.122, allocations: 2.237 MB / 0.7815 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007683/1.122, allocations: 431.7 kB / 0.7819 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/1.134, allocations: 8.004 MB / 0.7897 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-05/1.134, allocations: 32 kB / 0.7898 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/1.134, allocations: 11.94 kB / 0.7898 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/1.135, allocations: 11.95 kB / 0.7898 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/1.157, allocations: 14.6 MB / 0.804 GB, free: 90.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.157, allocations: 4.188 kB / 0.8041 GB, free: 90.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/1.159, allocations: 407.3 kB / 0.8044 GB, free: 89.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00497/1.164, allocations: 2.313 MB / 0.8067 GB, free: 87.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003132/1.164, allocations: 51.67 kB / 0.8067 GB, free: 87.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02229/1.186, allocations: 23.16 MB / 0.8294 GB, free: 63.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.186, allocations: 11 kB / 0.8294 GB, free: 63.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/1.199, allocations: 8.161 MB / 0.8373 GB, free: 55.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.2, allocations: 455.5 kB / 0.8378 GB, free: 55.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008192/1.201, allocations: 51.98 kB / 0.8378 GB, free: 54.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/1.203, allocations: 219.7 kB / 0.838 GB, free: 54.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006731/1.203, allocations: 193.3 kB / 0.8382 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/1.204, allocations: 68 kB / 0.8383 GB, free: 54.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003116/1.207, allocations: 2.634 MB / 0.8409 GB, free: 51.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/1.207, allocations: 0 / 0.8409 GB, free: 51.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006077/1.213, allocations: 1.343 MB / 0.8422 GB, free: 50.53 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.01296/1.226, allocations: 9.13 MB / 0.8511 GB, free: 41.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01151/1.237, allocations: 8.891 MB / 0.8598 GB, free: 32.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.237, allocations: 4.062 kB / 0.8598 GB, free: 32.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005313/1.243, allocations: 4.104 MB / 0.8638 GB, free: 28.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/1.246, allocations: 497.3 kB / 0.8643 GB, free: 27.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08501/1.331, allocations: 60.32 MB / 0.9232 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004244/1.335, allocations: 3.574 MB / 0.9267 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004621/1.339, allocations: 2.144 MB / 0.9287 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003137/1.343, allocations: 2.073 MB / 0.9308 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/1.343, allocations: 0 / 0.9308 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.402/1.745, allocations: 100.4 MB / 1.029 GB, free: 151.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.77/22.51, allocations: 15.78 kB / 1.029 GB, free: 151.4 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_trunk_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.PlanarLoopWithMove_res.csv","/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