Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009026/0.0009028, allocations: 174.8 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.198/1.198, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007209/0.000721, allocations: 92.39 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2789/0.2789, allocations: 43.56 MB / 363.1 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 16 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09065, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2054/0.296, allocations: 58 MB / 0.5361 GB, free: 9.188 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02163/0.3177, allocations: 12.46 MB / 0.5482 GB, free: 0.707 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008527/0.3263, allocations: 282.4 kB / 0.5485 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006698/0.333, allocations: 2.978 MB / 0.5514 GB, free: 15.6 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02064/0.3537, allocations: 8.883 MB / 0.5601 GB, free: 11.87 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004221/0.3579, allocations: 1.077 MB / 0.5611 GB, free: 11.46 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04112/0.3991, allocations: 35.31 MB / 0.5956 GB, free: 15.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007716/0.4068, allocations: 6.044 MB / 0.6015 GB, free: 8.996 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.4098, allocations: 1.837 MB / 0.6033 GB, free: 7.152 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003193/0.413, allocations: 2.855 MB / 0.6061 GB, free: 4.289 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005846/0.4136, allocations: 200 kB / 0.6063 GB, free: 4.094 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.4159, allocations: 1.357 MB / 0.6076 GB, free: 2.734 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.4177, allocations: 2.392 MB / 0.6099 GB, free: 344 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002338/0.4201, allocations: 2.654 MB / 0.6125 GB, free: 13.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006084/0.4262, allocations: 7.556 MB / 0.6199 GB, free: 6.086 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4262, allocations: 3.984 kB / 0.6199 GB, free: 6.082 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4262, allocations: 7.938 kB / 0.6199 GB, free: 6.074 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001523/0.4264, allocations: 0 / 0.6199 GB, free: 6.074 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01244/0.4388, allocations: 5.829 MB / 0.6256 GB, free: 168 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4389, allocations: 8.031 kB / 0.6256 GB, free: 160 kB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001587/0.4405, allocations: 0.9219 MB / 0.6265 GB, free: 15.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1565/0.597, allocations: 12.84 MB / 0.6391 GB, free: 2.363 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009604/0.6066, allocations: 5.013 MB / 0.644 GB, free: 13.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.6069, allocations: 312.4 kB / 0.6443 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/0.6081, allocations: 423.6 kB / 0.6447 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/0.6296, allocations: 13.67 MB / 0.658 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/0.6298, allocations: 63.38 kB / 0.6581 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004669/0.6302, allocations: 199.8 kB / 0.6583 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003667/0.6339, allocations: 2.523 MB / 0.6607 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1962/0.8301, allocations: 11.51 MB / 0.672 GB, free: 134.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05195/0.8821, allocations: 53.17 MB / 0.7239 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/0.8967, allocations: 5.792 MB / 0.7295 GB, free: 99.28 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004181/0.9009, allocations: 3.386 MB / 0.7328 GB, free: 97.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01992/0.9208, allocations: 14.8 MB / 0.7473 GB, free: 89.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.9209, allocations: 64.75 kB / 0.7474 GB, free: 89.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 5.36e-06/0.921, allocations: 1.031 kB / 0.7474 GB, free: 89.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=264): time 0.07228/0.9932, allocations: 26.34 MB / 0.7731 GB, free: 70.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.9933, allocations: 265.3 kB / 0.7733 GB, free: 69.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006103/0.9994, allocations: 5.071 MB / 0.7783 GB, free: 64.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004056/0.9999, allocations: 65.7 kB / 0.7784 GB, free: 64.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.002, allocations: 3.965 MB / 0.7822 GB, free: 60.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008602/1.002, allocations: 0.9866 MB / 0.7832 GB, free: 59.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004457/1.003, allocations: 144 kB / 0.7833 GB, free: 59.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003397/1.003, allocations: 0.6161 MB / 0.7839 GB, free: 59.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/1.007, allocations: 2.7 MB / 0.7866 GB, free: 56.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004583/1.011, allocations: 7.045 MB / 0.7934 GB, free: 47.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00831/1.019, allocations: 10.61 MB / 0.8038 GB, free: 34.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/1.02, allocations: 44 kB / 0.8038 GB, free: 34.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01312/1.033, allocations: 10.04 MB / 0.8137 GB, free: 24.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.793e-05/1.033, allocations: 71.98 kB / 0.8137 GB, free: 24.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/1.033, allocations: 156.2 kB / 0.8139 GB, free: 24.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/1.035, allocations: 0.7054 MB / 0.8146 GB, free: 23.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005205/1.04, allocations: 1.774 MB / 0.8163 GB, free: 21.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005518/1.045, allocations: 6.357 MB / 0.8225 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004877/1.05, allocations: 407.5 kB / 0.8229 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008678/1.051, allocations: 444 kB / 0.8233 GB, free: 14.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (913): * Single equations (assignments): 908 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003827/1.055, allocations: 2.638 MB / 0.8259 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008185/1.056, allocations: 481.8 kB / 0.8263 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005996/1.062, allocations: 4.358 MB / 0.8306 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/1.062, allocations: 36.69 kB / 0.8306 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/1.062, allocations: 4 kB / 0.8306 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/1.062, allocations: 11.95 kB / 0.8307 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/1.079, allocations: 10.83 MB / 0.8412 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/1.079, allocations: 4 kB / 0.8412 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/1.082, allocations: 499.2 kB / 0.8417 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/1.083, allocations: 489.2 kB / 0.8422 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002755/1.083, allocations: 50.48 kB / 0.8422 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006057/1.089, allocations: 5.696 MB / 0.8478 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.089, allocations: 7.984 kB / 0.8478 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/1.1, allocations: 7.591 MB / 0.8552 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/1.102, allocations: 0.8463 MB / 0.856 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009123/1.103, allocations: 45.48 kB / 0.8561 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/1.105, allocations: 163.8 kB / 0.8562 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005062/1.106, allocations: 145.7 kB / 0.8564 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/1.106, allocations: 69.86 kB / 0.8564 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005085/1.111, allocations: 3.18 MB / 0.8595 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/1.111, allocations: 4 kB / 0.8596 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005869/1.117, allocations: 1.302 MB / 0.8608 GB, free: 7.398 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (224): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1944/1.312, allocations: 8.287 MB / 0.8689 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.323, allocations: 6.741 MB / 0.8755 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.323, allocations: 2.781 kB / 0.8755 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/1.326, allocations: 2.363 MB / 0.8778 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/1.329, allocations: 0.5972 MB / 0.8784 GB, free: 155.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0708/1.4, allocations: 48.49 MB / 0.9258 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005689/1.406, allocations: 4.117 MB / 0.9298 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003471/1.409, allocations: 2.683 MB / 0.9324 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/1.409, allocations: 0 / 0.9324 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.364/10.77, allocations: 143.7 MB / 1.073 GB, free: 145.1 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches