Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",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.001268/0.001268, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 202.8 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 222.6 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2943/0.2943, allocations: 43.5 MB / 313.5 MB, free: 8.551 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 71.89 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1161, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2194/0.3355, allocations: 47.12 MB / 487 MB, free: 21.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02008/0.3556, allocations: 9.724 MB / 496.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01012/0.3658, allocations: 195.1 kB / 496.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004711/0.3706, allocations: 2.206 MB / 499.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005274/0.3759, allocations: 1.938 MB / 0.4893 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.3778, allocations: 0.5766 MB / 0.4899 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009249/0.3871, allocations: 6.23 MB / 0.496 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006415/0.3935, allocations: 3.124 MB / 0.499 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003625/0.3972, allocations: 1.444 MB / 0.5005 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004261/0.4015, allocations: 2.395 MB / 0.5028 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001749/0.4032, allocations: 244.9 kB / 0.503 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/0.4064, allocations: 1.005 MB / 0.504 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003269/0.4097, allocations: 1.974 MB / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005054/0.4148, allocations: 2.414 MB / 0.5083 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008025/0.4228, allocations: 7.635 MB / 0.5157 GB, free: 1.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4228, allocations: 0 / 0.5157 GB, free: 1.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4229, allocations: 0 / 0.5157 GB, free: 1.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001386/0.423, allocations: 0 / 0.5157 GB, free: 1.797 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.008161/0.4312, allocations: 5.28 MB / 0.5209 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.4312, allocations: 9 kB / 0.5209 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001023/0.4323, allocations: 0.8941 MB / 0.5218 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.4425, allocations: 3.207 MB / 0.5249 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006225/0.4487, allocations: 2.846 MB / 0.5277 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.4489, allocations: 262.9 kB / 0.5279 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007541/0.4497, allocations: 347.6 kB / 0.5283 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/0.4696, allocations: 12.66 MB / 0.5406 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/0.4698, allocations: 35.64 kB / 0.5407 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006928/0.4705, allocations: 159.8 kB / 0.5408 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004799/0.4753, allocations: 3.036 MB / 0.5438 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/0.4962, allocations: 11.33 MB / 0.5549 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05913/0.5554, allocations: 42.32 MB / 0.5962 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009423/0.5648, allocations: 4.704 MB / 0.6008 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00341/0.5683, allocations: 2.438 MB / 0.6032 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.5696, allocations: 1.319 MB / 0.6044 GB, free: 6.551 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.5696, allocations: 64.55 kB / 0.6045 GB, free: 6.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 5.921e-06/0.5697, allocations: 0 / 0.6045 GB, free: 6.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=268): time 0.04459/0.6142, allocations: 19.56 MB / 0.6236 GB, free: 2.758 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.6144, allocations: 99.11 kB / 0.6237 GB, free: 2.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2141/0.8285, allocations: 3.273 MB / 0.6269 GB, free: 142.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006393/0.8292, allocations: 62.52 kB / 0.627 GB, free: 142.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003041/0.8322, allocations: 3.28 MB / 0.6302 GB, free: 141.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001742/0.834, allocations: 0.9755 MB / 0.6311 GB, free: 140.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002484/0.8365, allocations: 1.213 MB / 0.6323 GB, free: 140.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.8366, allocations: 307.4 kB / 0.6326 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/0.8399, allocations: 2.489 MB / 0.635 GB, free: 139.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004011/0.8439, allocations: 5.88 MB / 0.6408 GB, free: 134.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007945/0.8519, allocations: 9.177 MB / 0.6497 GB, free: 127.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.337e-05/0.852, allocations: 32.53 kB / 0.6498 GB, free: 127.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.01398/0.8659, allocations: 9.151 MB / 0.6587 GB, free: 124.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.975e-05/0.8661, allocations: 56.03 kB / 0.6587 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001769/0.8663, allocations: 117.7 kB / 0.6589 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002968/0.8692, allocations: 1.063 MB / 0.6599 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/0.8739, allocations: 1.387 MB / 0.6613 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00707/0.881, allocations: 5.148 MB / 0.6663 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/0.886, allocations: 337.9 kB / 0.6666 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008829/0.8869, allocations: 352.5 kB / 0.6669 GB, free: 121.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 740 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005369/0.8923, allocations: 2.478 MB / 0.6694 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007878/0.8931, allocations: 322.2 kB / 0.6697 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009764/0.9029, allocations: 5.379 MB / 0.6749 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.816e-05/0.903, allocations: 51.64 kB / 0.675 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.903, allocations: 13.47 kB / 0.675 GB, free: 118 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/0.903, allocations: 10.64 kB / 0.675 GB, free: 118 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02295/0.926, allocations: 13.36 MB / 0.688 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.926, allocations: 10.94 kB / 0.6881 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/0.9276, allocations: 426.4 kB / 0.6885 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002424/0.9301, allocations: 0.8853 MB / 0.6893 GB, free: 113.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002339/0.9303, allocations: 60.55 kB / 0.6894 GB, free: 113.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004732/0.9351, allocations: 4.504 MB / 0.6938 GB, free: 109.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.9351, allocations: 19.94 kB / 0.6938 GB, free: 109.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009213/0.9443, allocations: 8.041 MB / 0.7017 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.9459, allocations: 0.7346 MB / 0.7024 GB, free: 101.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004212/0.9463, allocations: 49.88 kB / 0.7024 GB, free: 101.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.9475, allocations: 148.3 kB / 0.7026 GB, free: 101.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/0.9478, allocations: 178.1 kB / 0.7027 GB, free: 101.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.948, allocations: 79.84 kB / 0.7028 GB, free: 101.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002381/0.9504, allocations: 2.025 MB / 0.7048 GB, free: 99.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9504, allocations: 0 / 0.7048 GB, free: 99.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004136/0.9545, allocations: 1.109 MB / 0.7059 GB, free: 98.39 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009636/0.9642, allocations: 8.712 MB / 0.7144 GB, free: 90.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008821/0.9731, allocations: 6.054 MB / 0.7203 GB, free: 84.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.9731, allocations: 4 kB / 0.7203 GB, free: 84.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.9755, allocations: 2.257 MB / 0.7225 GB, free: 81.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.9779, allocations: 422.5 kB / 0.7229 GB, free: 81.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06578/1.044, allocations: 55.33 MB / 0.7769 GB, free: 19.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005518/1.049, allocations: 3.834 MB / 0.7807 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00503/1.054, allocations: 2.181 MB / 0.7828 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003644/1.058, allocations: 2.206 MB / 0.785 GB, free: 10.95 MB / 494.1 MB Notification: Performance of SimCode: time 1.623e-06/1.058, allocations: 0 / 0.785 GB, free: 10.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2865/1.344, allocations: 69.52 MB / 0.8528 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/1.345, allocations: 207.8 kB / 0.853 GB, free: 143.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.336/4.681, allocations: 0 / 0.853 GB, free: 143.2 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches