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.0008736/0.0008736, allocations: 176.1 kB / 16.72 MB, free: 5.082 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.232/1.232, 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.0006778/0.0006778, allocations: 96.25 kB / 271.2 MB, free: 8.234 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.2807/0.2807, allocations: 43.57 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003323, allocations: 16 kB / 432 MB, free: 5.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09439, allocations: 58.85 MB / 490.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.2061/0.3005, allocations: 66.47 MB / 0.5442 GB, free: 3.188 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02877/0.3293, allocations: 14.01 MB / 0.5579 GB, free: 9.641 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0114/0.3408, allocations: 321.4 kB / 0.5582 GB, free: 9.59 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009609/0.3504, allocations: 3.416 MB / 0.5616 GB, free: 8.371 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02572/0.3762, allocations: 10.22 MB / 0.5715 GB, free: 3.906 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00511/0.3813, allocations: 1.348 MB / 0.5729 GB, free: 3.059 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04423/0.4255, allocations: 37.38 MB / 0.6094 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01122/0.4368, allocations: 6.87 MB / 0.6161 GB, free: 10 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00483/0.4417, allocations: 2.257 MB / 0.6183 GB, free: 7.734 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005854/0.4476, allocations: 3.689 MB / 0.6219 GB, free: 4.035 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001778/0.4494, allocations: 248 kB / 0.6221 GB, free: 3.793 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003983/0.4534, allocations: 1.4 MB / 0.6235 GB, free: 2.391 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004461/0.4579, allocations: 3.004 MB / 0.6264 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00538/0.4633, allocations: 3.116 MB / 0.6295 GB, free: 12.24 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00958/0.4729, allocations: 8.542 MB / 0.6378 GB, free: 3.676 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.473, allocations: 0 / 0.6378 GB, free: 3.676 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.473, allocations: 0 / 0.6378 GB, free: 3.676 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003689/0.4733, allocations: 0 / 0.6378 GB, free: 3.676 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.0148/0.4882, allocations: 6.826 MB / 0.6445 GB, free: 12.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4882, allocations: 12.03 kB / 0.6445 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02492/0.5131, allocations: 3.763 MB / 0.6482 GB, free: 8.977 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/0.5255, allocations: 5.489 MB / 0.6535 GB, free: 3.406 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/0.5259, allocations: 373.8 kB / 0.6539 GB, free: 3.039 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/0.5278, allocations: 0.5154 MB / 0.6544 GB, free: 2.523 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0306/0.5584, allocations: 16.26 MB / 0.6703 GB, free: 1.188 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000207/0.5586, allocations: 79.27 kB / 0.6703 GB, free: 1.109 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007417/0.5594, allocations: 235.8 kB / 0.6706 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1846/0.744, allocations: 2.92 MB / 0.6734 GB, free: 136.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02757/0.7716, allocations: 13.7 MB / 0.6868 GB, free: 133.9 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.07683/0.8485, allocations: 64.84 MB / 0.7501 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01927/0.8678, allocations: 7.959 MB / 0.7579 GB, free: 84.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004994/0.8728, allocations: 4.346 MB / 0.7621 GB, free: 80.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02312/0.896, allocations: 19.36 MB / 0.781 GB, free: 60.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.8961, allocations: 72.48 kB / 0.7811 GB, free: 60.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 6.292e-06/0.8961, allocations: 0 / 0.7811 GB, free: 60.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=372): time 0.1362/1.032, allocations: 50.55 MB / 0.8305 GB, free: 9.477 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/1.032, allocations: 269.8 kB / 0.8307 GB, free: 9.156 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007055/1.039, allocations: 6.059 MB / 0.8366 GB, free: 3.086 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008177/1.04, allocations: 81.7 kB / 0.8367 GB, free: 3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002689/1.043, allocations: 4.674 MB / 0.8413 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001813/1.045, allocations: 1.372 MB / 0.8426 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005083/1.045, allocations: 195.9 kB / 0.8428 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005167/1.046, allocations: 0.7151 MB / 0.8435 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006629/1.052, allocations: 4.184 MB / 0.8476 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01182/1.064, allocations: 9.414 MB / 0.8568 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2081/1.272, allocations: 14.58 MB / 0.871 GB, free: 151 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000189/1.273, allocations: 52 kB / 0.8711 GB, free: 151 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03439/1.307, allocations: 17.52 MB / 0.8882 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.307, allocations: 83.64 kB / 0.8883 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/1.307, allocations: 185.9 kB / 0.8885 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01209/1.319, allocations: 4.579 MB / 0.8929 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006449/1.326, allocations: 2.131 MB / 0.895 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03123/1.357, allocations: 23.73 MB / 0.9182 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006719/1.364, allocations: 0.5253 MB / 0.9187 GB, free: 136 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001278/1.365, allocations: 0.5359 MB / 0.9192 GB, free: 136 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.004848/1.37, allocations: 3.134 MB / 0.9223 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009201/1.371, allocations: 0.5648 MB / 0.9228 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01974/1.391, allocations: 10.73 MB / 0.9333 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.73e-05/1.391, allocations: 40.55 kB / 0.9333 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-05/1.391, allocations: 21.22 kB / 0.9334 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.125e-05/1.391, allocations: 19.92 kB / 0.9334 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0337/1.425, allocations: 20.53 MB / 0.9534 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/1.425, allocations: 3.984 kB / 0.9534 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002616/1.427, allocations: 0.5421 MB / 0.954 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01201/1.439, allocations: 4.216 MB / 0.9581 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006378/1.44, allocations: 65.23 kB / 0.9582 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02538/1.465, allocations: 21.54 MB / 0.9792 GB, free: 82.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.465, allocations: 3.938 kB / 0.9792 GB, free: 82.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02437/1.49, allocations: 15.64 MB / 0.9945 GB, free: 66.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002872/1.493, allocations: 1.192 MB / 0.9956 GB, free: 65.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/1.494, allocations: 60.94 kB / 0.9957 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003197/1.497, allocations: 215.7 kB / 0.9959 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007458/1.498, allocations: 235.6 kB / 0.9961 GB, free: 64.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/1.498, allocations: 103.6 kB / 0.9962 GB, free: 64.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005465/1.504, allocations: 3.769 MB / 0.9999 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/1.504, allocations: 0 / 0.9999 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00817/1.512, allocations: 1.936 MB / 1.002 GB, free: 59.05 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.0008463/1.513, allocations: 221 kB / 1.002 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01407/1.527, allocations: 10.46 MB / 1.012 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.527, allocations: 3.938 kB / 1.012 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005001/1.532, allocations: 4.113 MB / 1.016 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004468/1.536, allocations: 0.7311 MB / 1.017 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0257/1.562, allocations: 19.57 MB / 1.036 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004814/1.567, allocations: 4.844 MB / 1.041 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.569, allocations: 447.4 kB / 1.041 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of SimCode: time 8.41e-07/1.569, allocations: 0 / 1.041 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.3779/1.947, allocations: 152.6 MB / 1.19 GB, free: 46.31 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