Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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) 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 96.95 kB / 18.37 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009981/0.0009982, allocations: 187 kB / 19.3 MB, free: 3.781 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.241/1.241, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.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.001128/0.001128, allocations: 51.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07233/0.07346, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.1615/0.235, allocations: 17.33 MB / 393.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009941/0.245, allocations: 5.489 MB / 398.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/0.2477, allocations: 117.7 kB / 398.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008246/0.256, allocations: 4.367 MB / 403.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006411/0.2624, allocations: 2.77 MB / 405.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.2654, allocations: 1.456 MB / 407.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009998/0.2754, allocations: 8.148 MB / 415.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006367/0.2818, allocations: 5.393 MB / 420.9 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003556/0.2853, allocations: 2.695 MB / 423.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004187/0.2895, allocations: 3.852 MB / 427.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008291/0.2904, allocations: 0.5352 MB / 427.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.293, allocations: 1.623 MB / 429.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002751/0.2957, allocations: 3.347 MB / 432.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003289/0.299, allocations: 3.659 MB / 436.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009578/0.3086, allocations: 11.23 MB / 447.8 MB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3086, allocations: 4 kB / 447.8 MB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3086, allocations: 3.938 kB / 447.8 MB, free: 7.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001593/0.3088, allocations: 0 / 447.8 MB, free: 7.316 MB / 366.1 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.01513/0.3239, allocations: 8.222 MB / 456 MB, free: 15.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.324, allocations: 8.031 kB / 456 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03072/0.3547, allocations: 3.677 MB / 459.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.3655, allocations: 5.61 MB / 465.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.3658, allocations: 377.3 kB / 465.7 MB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/0.3669, allocations: 0.5112 MB / 466.2 MB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02516/0.392, allocations: 16.24 MB / 482.4 MB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/0.3922, allocations: 79.3 kB / 482.5 MB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005867/0.3928, allocations: 235.8 kB / 482.8 MB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004503/0.3973, allocations: 2.923 MB / 485.7 MB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02504/0.4224, allocations: 13.7 MB / 499.4 MB, free: 2.461 MB / 414.1 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.07035/0.4928, allocations: 64.56 MB / 0.5507 GB, free: 32 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1794/0.6722, allocations: 7.856 MB / 0.5584 GB, free: 145.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005433/0.6776, allocations: 4.346 MB / 0.5626 GB, free: 143.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02415/0.7018, allocations: 19.37 MB / 0.5816 GB, free: 134 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.7019, allocations: 60.28 kB / 0.5816 GB, free: 133.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=290): time 5.06e-06/0.7019, allocations: 0 / 0.5816 GB, free: 133.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=372): time 0.1519/0.8537, allocations: 49.93 MB / 0.6304 GB, free: 92.42 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.8538, allocations: 273.8 kB / 0.6306 GB, free: 92.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005794/0.8596, allocations: 6.098 MB / 0.6366 GB, free: 85.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003684/0.86, allocations: 81.7 kB / 0.6367 GB, free: 85.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001681/0.8617, allocations: 4.676 MB / 0.6412 GB, free: 81.22 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008195/0.8625, allocations: 1.368 MB / 0.6426 GB, free: 79.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/0.8645, allocations: 1.908 MB / 0.6444 GB, free: 77.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.117e-05/0.8645, allocations: 309.1 kB / 0.6447 GB, free: 77.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004637/0.8692, allocations: 4.224 MB / 0.6488 GB, free: 73.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006117/0.8753, allocations: 9.449 MB / 0.6581 GB, free: 61.42 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/0.8871, allocations: 14.63 MB / 0.6724 GB, free: 44.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.739e-05/0.8872, allocations: 60.44 kB / 0.6724 GB, free: 44.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.02829/0.9155, allocations: 17.54 MB / 0.6895 GB, free: 26.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/0.9156, allocations: 88.22 kB / 0.6896 GB, free: 26.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/0.9158, allocations: 180 kB / 0.6898 GB, free: 26.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01279/0.9286, allocations: 4.547 MB / 0.6942 GB, free: 21.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006386/0.935, allocations: 2.125 MB / 0.6963 GB, free: 19.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03161/0.9666, allocations: 25.37 MB / 0.7211 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007197/0.9738, allocations: 0.5342 MB / 0.7216 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008911/0.9747, allocations: 0.5351 MB / 0.7221 GB, free: 8.926 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004315/0.979, allocations: 3.128 MB / 0.7252 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008783/0.9799, allocations: 0.5668 MB / 0.7257 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1797/1.16, allocations: 10.71 MB / 0.7362 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.06e-05/1.16, allocations: 18.17 kB / 0.7362 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.16, allocations: 0.8125 kB / 0.7362 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/1.163, allocations: 1.185 MB / 0.7374 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/1.164, allocations: 64.56 kB / 0.7374 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003657/1.168, allocations: 223.9 kB / 0.7377 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009286/1.169, allocations: 293.4 kB / 0.7379 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02254/1.191, allocations: 10.39 MB / 0.7481 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0136/1.205, allocations: 11.48 MB / 0.7593 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003283/1.208, allocations: 3.24 MB / 0.7624 GB, free: 151.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00422/1.212, allocations: 3.804 MB / 0.7662 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of Backend: time 4.11e-07/1.212, allocations: 0 / 0.7662 GB, free: 150.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.223, allocations: 7.915 MB / 0.7739 GB, free: 147.1 MB / 0.4981 GB Notification: Performance of SimCode: time 0.01608/1.239, allocations: 15.11 MB / 0.7886 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.1154/1.355, allocations: 90.97 MB / 0.8775 GB, free: 46.41 MB / 0.4981 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches