Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 179.8 kB / 16.41 MB, free: 5.703 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.7/1.7, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008314/0.0008314, allocations: 91.86 kB / 270.9 MB, free: 8.355 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.4314/0.4314, allocations: 43.56 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 12 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 58.86 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3102/0.4518, allocations: 66.45 MB / 0.5436 GB, free: 3.184 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04004/0.4918, allocations: 14.02 MB / 0.5573 GB, free: 9.637 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02029/0.5122, allocations: 321.4 kB / 0.5576 GB, free: 9.586 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0154/0.5276, allocations: 3.418 MB / 0.561 GB, free: 8.363 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03868/0.5663, allocations: 10.21 MB / 0.5709 GB, free: 3.977 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007015/0.5734, allocations: 1.29 MB / 0.5722 GB, free: 3.168 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0496/0.623, allocations: 37.31 MB / 0.6086 GB, free: 1.258 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.6331, allocations: 6.4 MB / 0.6149 GB, free: 10.82 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005127/0.6383, allocations: 2.25 MB / 0.6171 GB, free: 8.562 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006275/0.6446, allocations: 3.693 MB / 0.6207 GB, free: 4.859 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00142/0.646, allocations: 248 kB / 0.6209 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.6493, allocations: 1.202 MB / 0.6221 GB, free: 3.414 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00329/0.6526, allocations: 3 MB / 0.625 GB, free: 416 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.6545, allocations: 1.306 MB / 0.6263 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009924/0.6644, allocations: 8.541 MB / 0.6346 GB, free: 6.527 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.6645, allocations: 0 / 0.6346 GB, free: 6.527 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6645, allocations: 0 / 0.6346 GB, free: 6.527 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004005/0.6649, allocations: 0 / 0.6346 GB, free: 6.527 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.01791/0.6828, allocations: 6.912 MB / 0.6414 GB, free: 15.53 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6829, allocations: 12.02 kB / 0.6414 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02816/0.7111, allocations: 3.77 MB / 0.6451 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.7251, allocations: 5.389 MB / 0.6504 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003997/0.7255, allocations: 369.5 kB / 0.6507 GB, free: 5.902 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002129/0.7277, allocations: 0.519 MB / 0.6512 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03376/0.7614, allocations: 16.26 MB / 0.6671 GB, free: 4.055 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002564/0.7618, allocations: 87.14 kB / 0.6672 GB, free: 3.969 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000763/0.7625, allocations: 235.8 kB / 0.6674 GB, free: 3.738 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004889/0.7674, allocations: 2.927 MB / 0.6703 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3042/1.072, allocations: 13.7 MB / 0.6836 GB, free: 132.5 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08122/1.153, allocations: 64.81 MB / 0.7469 GB, free: 88.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02046/1.173, allocations: 7.959 MB / 0.7547 GB, free: 85.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005043/1.179, allocations: 4.332 MB / 0.7589 GB, free: 82.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02291/1.201, allocations: 19.36 MB / 0.7778 GB, free: 62.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/1.202, allocations: 72.5 kB / 0.7779 GB, free: 62.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 5.781e-06/1.202, allocations: 0 / 0.7779 GB, free: 62.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=372): time 0.1435/1.345, allocations: 50.56 MB / 0.8273 GB, free: 11.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.345, allocations: 265.8 kB / 0.8275 GB, free: 11.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00708/1.352, allocations: 6.055 MB / 0.8334 GB, free: 5.414 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007413/1.353, allocations: 83.3 kB / 0.8335 GB, free: 5.328 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002166/1.355, allocations: 4.677 MB / 0.8381 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001485/1.357, allocations: 1.376 MB / 0.8394 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004576/1.357, allocations: 192 kB / 0.8396 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005307/1.358, allocations: 0.7073 MB / 0.8403 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006218/1.364, allocations: 4.188 MB / 0.8444 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01023/1.374, allocations: 9.418 MB / 0.8536 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00928/1.384, allocations: 6.072 MB / 0.8595 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.13e-05/1.384, allocations: 48 kB / 0.8596 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.2665/1.65, allocations: 17.5 MB / 0.8767 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/1.65, allocations: 88.27 kB / 0.8768 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002315/1.651, allocations: 178.6 kB / 0.8769 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01395/1.664, allocations: 4.613 MB / 0.8814 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006963/1.671, allocations: 2.126 MB / 0.8835 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03206/1.704, allocations: 23.73 MB / 0.9067 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007494/1.711, allocations: 0.5218 MB / 0.9072 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/1.712, allocations: 0.5414 MB / 0.9077 GB, free: 139.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1136): * Single equations (assignments): 1131 * 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 {(2,100.0%) 44,(2,100.0%) 50} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005379/1.718, allocations: 3.131 MB / 0.9108 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.719, allocations: 0.5686 MB / 0.9113 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02024/1.739, allocations: 10.72 MB / 0.9218 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.53e-05/1.739, allocations: 42.27 kB / 0.9218 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.798e-05/1.739, allocations: 14.22 kB / 0.9219 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.804e-05/1.739, allocations: 21.61 kB / 0.9219 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03382/1.773, allocations: 20.54 MB / 0.9419 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/1.773, allocations: 3.516 kB / 0.9419 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002585/1.776, allocations: 0.5382 MB / 0.9425 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/1.788, allocations: 4.217 MB / 0.9466 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004262/1.789, allocations: 63.98 kB / 0.9467 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02624/1.815, allocations: 21.53 MB / 0.9677 GB, free: 94.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.815, allocations: 4.609 kB / 0.9677 GB, free: 94.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02461/1.84, allocations: 15.63 MB / 0.9829 GB, free: 79.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002908/1.842, allocations: 1.188 MB / 0.9841 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007602/1.843, allocations: 60 kB / 0.9842 GB, free: 77.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.846, allocations: 226.3 kB / 0.9844 GB, free: 77.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006413/1.846, allocations: 226.1 kB / 0.9846 GB, free: 77.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/1.847, allocations: 95.98 kB / 0.9847 GB, free: 77.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004647/1.851, allocations: 3.773 MB / 0.9884 GB, free: 73.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/1.851, allocations: 0 / 0.9884 GB, free: 73.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007486/1.859, allocations: 1.931 MB / 0.9903 GB, free: 71.59 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 (272): * Single equations (assignments): 267 * 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 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005802/1.859, allocations: 219.7 kB / 0.9905 GB, free: 71.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01449/1.874, allocations: 10.46 MB / 1.001 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.874, allocations: 4.125 kB / 1.001 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004888/1.879, allocations: 4.121 MB / 1.005 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/1.883, allocations: 0.734 MB / 1.005 GB, free: 56.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02526/1.909, allocations: 19.58 MB / 1.025 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004343/1.913, allocations: 4.844 MB / 1.029 GB, free: 31.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/1.915, allocations: 443.4 kB / 1.03 GB, free: 31.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/1.915, allocations: 7.938 kB / 1.03 GB, free: 31.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.3963/2.311, allocations: 152.8 MB / 1.179 GB, free: 54.46 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches