Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.001721, allocations: 113.2 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002068, allocations: 185 kB / 18.71 MB, free: 4.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 44.2 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3687, allocations: 60.81 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01431/0.3831, allocations: 11.99 MB / 0.5301 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.3939, allocations: 4.618 MB / 0.5346 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.3968, allocations: 80.31 kB / 0.5347 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006571/0.4034, allocations: 2.993 MB / 0.5376 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006832/0.4103, allocations: 1.967 MB / 0.5395 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.4132, allocations: 0.8742 MB / 0.5404 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008293/0.4215, allocations: 4.062 MB / 0.5444 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004997/0.4265, allocations: 3.316 MB / 0.5476 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003662/0.4302, allocations: 1.76 MB / 0.5493 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003819/0.4341, allocations: 2.161 MB / 0.5514 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.4352, allocations: 308 kB / 0.5517 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.4383, allocations: 1.205 MB / 0.5529 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002286/0.4406, allocations: 1.956 MB / 0.5548 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002957/0.4436, allocations: 2.291 MB / 0.5571 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.4537, allocations: 7.224 MB / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4537, allocations: 0 / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4537, allocations: 0 / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000268/0.454, allocations: 0 / 0.5641 GB, free: 13.17 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.01215/0.4662, allocations: 5.481 MB / 0.5695 GB, free: 7.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.4662, allocations: 8.031 kB / 0.5695 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001157/0.4674, allocations: 0.753 MB / 0.5702 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006315/0.4737, allocations: 1.909 MB / 0.5721 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00557/0.4793, allocations: 2.899 MB / 0.5749 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.4795, allocations: 234 kB / 0.5751 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006504/0.4802, allocations: 319.8 kB / 0.5754 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/0.501, allocations: 11.19 MB / 0.5864 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.5012, allocations: 43.64 kB / 0.5864 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004587/0.5017, allocations: 151.8 kB / 0.5865 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004206/0.5059, allocations: 2.302 MB / 0.5888 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/0.5264, allocations: 9.866 MB / 0.5984 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05706/0.5834, allocations: 44.2 MB / 0.6416 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0142/0.5977, allocations: 5.819 MB / 0.6473 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004446/0.6022, allocations: 3.25 MB / 0.6504 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/0.6166, allocations: 9.376 MB / 0.6596 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01027/0.6269, allocations: 3.376 MB / 0.6629 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=211): time 5.059e-06/0.6269, allocations: 0 / 0.6629 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=285): time 0.1216/0.7485, allocations: 33.63 MB / 0.6957 GB, free: 3.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.7487, allocations: 166.5 kB / 0.6959 GB, free: 3.484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007784/0.7565, allocations: 4.199 MB / 0.7 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007032/0.7572, allocations: 81.62 kB / 0.7001 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003468/0.7607, allocations: 3.374 MB / 0.7034 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001704/0.7624, allocations: 1.089 MB / 0.7044 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003603/0.7661, allocations: 1.342 MB / 0.7057 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.7662, allocations: 305.1 kB / 0.706 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005905/0.7721, allocations: 3.37 MB / 0.7093 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2679/1.04, allocations: 6.969 MB / 0.7161 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/1.052, allocations: 11.17 MB / 0.727 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/1.053, allocations: 36.09 kB / 0.7271 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.02011/1.073, allocations: 12.62 MB / 0.7394 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.801e-05/1.073, allocations: 60.28 kB / 0.7394 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/1.073, allocations: 129 kB / 0.7396 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006101/1.079, allocations: 2.639 MB / 0.7421 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004739/1.084, allocations: 1.472 MB / 0.7436 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02295/1.107, allocations: 23.38 MB / 0.7664 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005599/1.112, allocations: 436.9 kB / 0.7668 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000918/1.113, allocations: 388.7 kB / 0.7672 GB, free: 133.1 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.003135/1.116, allocations: 2.227 MB / 0.7694 GB, free: 131 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008786/1.117, allocations: 431.2 kB / 0.7698 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.129, allocations: 8.01 MB / 0.7776 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.925e-05/1.129, allocations: 28 kB / 0.7776 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/1.129, allocations: 12 kB / 0.7777 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/1.129, allocations: 15.95 kB / 0.7777 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/1.149, allocations: 14.61 MB / 0.7919 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/1.149, allocations: 4.188 kB / 0.7919 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/1.151, allocations: 403.3 kB / 0.7923 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004895/1.156, allocations: 2.301 MB / 0.7946 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004481/1.156, allocations: 51.98 kB / 0.7946 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02228/1.179, allocations: 23.17 MB / 0.8172 GB, free: 81.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.179, allocations: 3.938 kB / 0.8173 GB, free: 81.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/1.191, allocations: 8.159 MB / 0.8252 GB, free: 73.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.192, allocations: 467.1 kB / 0.8257 GB, free: 72.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008545/1.193, allocations: 44 kB / 0.8257 GB, free: 72.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.195, allocations: 219.5 kB / 0.8259 GB, free: 72.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007243/1.196, allocations: 189.6 kB / 0.8261 GB, free: 72.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002301/1.196, allocations: 83.98 kB / 0.8262 GB, free: 72.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003748/1.2, allocations: 2.626 MB / 0.8287 GB, free: 69.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.71e-07/1.2, allocations: 0 / 0.8287 GB, free: 69.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007019/1.207, allocations: 1.358 MB / 0.8301 GB, free: 68.45 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.01336/1.22, allocations: 9.149 MB / 0.839 GB, free: 59.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01161/1.232, allocations: 8.882 MB / 0.8477 GB, free: 50.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.232, allocations: 4 kB / 0.8477 GB, free: 50.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005144/1.237, allocations: 4.1 MB / 0.8517 GB, free: 46.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/1.24, allocations: 0.4883 MB / 0.8522 GB, free: 45.81 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08148/1.321, allocations: 60.34 MB / 0.9111 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004843/1.326, allocations: 3.582 MB / 0.9146 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005007/1.331, allocations: 2.136 MB / 0.9167 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003415/1.334, allocations: 2.077 MB / 0.9187 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/1.335, allocations: 0 / 0.9187 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4599/1.794, allocations: 100.4 MB / 1.017 GB, free: 178.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.92/23.71, allocations: 5.047 kB / 1.017 GB, free: 178.8 MB / 0.6231 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches