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.001243/0.001243, allocations: 118.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.001284/0.001284, allocations: 198 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.393/1.393, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 79.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3858, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.0149/0.4007, allocations: 11.97 MB / 0.5422 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.4112, allocations: 4.749 MB / 0.5468 GB, free: 304 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002855/0.4141, allocations: 79.56 kB / 0.5469 GB, free: 288 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006233/0.4204, allocations: 2.986 MB / 0.5498 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00593/0.4264, allocations: 1.98 MB / 0.5517 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.4288, allocations: 0.838 MB / 0.5526 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005755/0.4346, allocations: 4.105 MB / 0.5566 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0045/0.4391, allocations: 3.301 MB / 0.5598 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003176/0.4423, allocations: 1.744 MB / 0.5615 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.4456, allocations: 2.176 MB / 0.5636 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.4467, allocations: 312 kB / 0.5639 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003241/0.45, allocations: 1.198 MB / 0.5651 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002718/0.4527, allocations: 1.979 MB / 0.567 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004956/0.4577, allocations: 2.287 MB / 0.5693 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009341/0.467, allocations: 7.135 MB / 0.5762 GB, free: 2.762 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4671, allocations: 0 / 0.5762 GB, free: 2.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4671, allocations: 0 / 0.5762 GB, free: 2.762 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002826/0.4674, allocations: 0 / 0.5762 GB, free: 2.762 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.01251/0.4799, allocations: 5.338 MB / 0.5814 GB, free: 13.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4799, allocations: 8.031 kB / 0.5814 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001554/0.4815, allocations: 0.7491 MB / 0.5822 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006217/0.4877, allocations: 1.886 MB / 0.584 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005287/0.493, allocations: 2.781 MB / 0.5867 GB, free: 7.844 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.4933, allocations: 230 kB / 0.587 GB, free: 7.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000922/0.4942, allocations: 315.8 kB / 0.5873 GB, free: 7.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.5127, allocations: 11.19 MB / 0.5982 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001396/0.5129, allocations: 43.59 kB / 0.5982 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007565/0.5137, allocations: 155.8 kB / 0.5984 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003777/0.5175, allocations: 2.302 MB / 0.6006 GB, free: 8.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.5369, allocations: 9.87 MB / 0.6103 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05845/0.5954, allocations: 44.12 MB / 0.6533 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/0.6091, allocations: 5.826 MB / 0.659 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003953/0.613, allocations: 3.245 MB / 0.6622 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01354/0.6266, allocations: 9.355 MB / 0.6713 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01002/0.6367, allocations: 3.376 MB / 0.6746 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=211): time 7.484e-06/0.6367, allocations: 0 / 0.6746 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=285): time 0.1162/0.7529, allocations: 33.4 MB / 0.7072 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.7531, allocations: 166.5 kB / 0.7074 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007087/0.7602, allocations: 4.194 MB / 0.7115 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006797/0.7609, allocations: 69.7 kB / 0.7116 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002905/0.7638, allocations: 3.243 MB / 0.7147 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/0.7653, allocations: 1.049 MB / 0.7158 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2888/1.054, allocations: 1.333 MB / 0.7171 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.164e-05/1.054, allocations: 305.5 kB / 0.7174 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006785/1.061, allocations: 3.374 MB / 0.7206 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008893/1.07, allocations: 6.974 MB / 0.7275 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/1.083, allocations: 11.17 MB / 0.7384 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002146/1.084, allocations: 34.59 kB / 0.7384 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=859) (initialization): time 0.0208/1.104, allocations: 12.58 MB / 0.7507 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/1.105, allocations: 60 kB / 0.7507 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002103/1.105, allocations: 124.9 kB / 0.7509 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006334/1.111, allocations: 2.636 MB / 0.7534 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00468/1.116, allocations: 1.478 MB / 0.7549 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02388/1.14, allocations: 23.38 MB / 0.7777 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00588/1.146, allocations: 429.9 kB / 0.7781 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/1.147, allocations: 397.1 kB / 0.7785 GB, free: 116.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.004477/1.152, allocations: 2.228 MB / 0.7807 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009707/1.153, allocations: 399.3 kB / 0.7811 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/1.166, allocations: 8.021 MB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.673e-05/1.166, allocations: 32 kB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.818e-05/1.166, allocations: 11.94 kB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/1.166, allocations: 11.95 kB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/1.19, allocations: 14.6 MB / 0.8032 GB, free: 91.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/1.19, allocations: 4 kB / 0.8032 GB, free: 91.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.192, allocations: 410.2 kB / 0.8036 GB, free: 90.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005012/1.197, allocations: 2.305 MB / 0.8059 GB, free: 88.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004027/1.197, allocations: 59.98 kB / 0.8059 GB, free: 88.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0232/1.22, allocations: 23.13 MB / 0.8285 GB, free: 64.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.22, allocations: 7.062 kB / 0.8285 GB, free: 64.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.234, allocations: 8.143 MB / 0.8365 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.235, allocations: 443.7 kB / 0.8369 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/1.236, allocations: 48 kB / 0.8369 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002599/1.239, allocations: 215.7 kB / 0.8371 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008172/1.24, allocations: 189.6 kB / 0.8373 GB, free: 55.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003628/1.24, allocations: 71.98 kB / 0.8374 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00448/1.245, allocations: 2.638 MB / 0.84 GB, free: 52.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.245, allocations: 0 / 0.84 GB, free: 52.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006579/1.251, allocations: 1.341 MB / 0.8413 GB, free: 51.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.01413/1.265, allocations: 9.112 MB / 0.8502 GB, free: 42.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01304/1.278, allocations: 8.886 MB / 0.8588 GB, free: 33.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/1.279, allocations: 0 / 0.8588 GB, free: 33.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005649/1.284, allocations: 4.089 MB / 0.8628 GB, free: 29.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/1.288, allocations: 0.4912 MB / 0.8633 GB, free: 29.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/1.389, allocations: 60.14 MB / 0.922 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006012/1.395, allocations: 3.578 MB / 0.9255 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005993/1.401, allocations: 2.136 MB / 0.9276 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003934/1.405, allocations: 2.077 MB / 0.9297 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of SimCode: time 1.513e-06/1.405, allocations: 4 kB / 0.9297 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5258/1.931, allocations: 102.2 MB / 1.029 GB, free: 150.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.69/22.62, allocations: 17.89 kB / 1.03 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