Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001049/0.001049, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001076/0.001076, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2254, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01767/0.2431, allocations: 17.3 MB / 418.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.254, allocations: 5.474 MB / 424.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.2568, allocations: 119.6 kB / 424.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008245/0.2651, allocations: 4.365 MB / 428.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006865/0.272, allocations: 2.832 MB / 431.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.2752, allocations: 1.459 MB / 433 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01088/0.2861, allocations: 8.478 MB / 441.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006988/0.2931, allocations: 5.371 MB / 446.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/0.2973, allocations: 2.663 MB / 449.5 MB, free: 8.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005445/0.3028, allocations: 3.848 MB / 453.3 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001751/0.3045, allocations: 0.5352 MB / 453.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.3083, allocations: 1.631 MB / 455.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004048/0.3124, allocations: 3.39 MB / 458.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00563/0.3181, allocations: 3.651 MB / 462.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.3309, allocations: 11.22 MB / 473.7 MB, free: 268 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3309, allocations: 8 kB / 473.8 MB, free: 260 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3309, allocations: 0 / 473.8 MB, free: 260 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003638/0.3313, allocations: 3.938 kB / 473.8 MB, free: 256 kB / 382.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.01978/0.3511, allocations: 8.21 MB / 482 MB, free: 7.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3511, allocations: 8.031 kB / 482 MB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.031/0.3821, allocations: 3.677 MB / 485.7 MB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/0.3958, allocations: 5.395 MB / 491 MB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003563/0.3962, allocations: 369.5 kB / 491.4 MB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001902/0.3981, allocations: 0.5112 MB / 491.9 MB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03022/0.4283, allocations: 16.24 MB / 0.4963 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002578/0.4286, allocations: 79.36 kB / 0.4963 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/0.4299, allocations: 231.8 kB / 0.4966 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004807/0.4347, allocations: 2.934 MB / 0.4994 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02813/0.4628, allocations: 13.71 MB / 0.5128 GB, free: 11.62 MB / 446.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.249/0.7119, allocations: 64.52 MB / 0.5758 GB, free: 86.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02056/0.7325, allocations: 7.862 MB / 0.5835 GB, free: 83.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00438/0.7369, allocations: 4.348 MB / 0.5877 GB, free: 81.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02244/0.7593, allocations: 19.36 MB / 0.6066 GB, free: 64.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.7594, allocations: 84.92 kB / 0.6067 GB, free: 64.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=290): time 4.689e-06/0.7594, allocations: 0 / 0.6067 GB, free: 64.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=372): time 0.1538/0.9132, allocations: 49.83 MB / 0.6554 GB, free: 14.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.9133, allocations: 265.8 kB / 0.6556 GB, free: 13.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006227/0.9196, allocations: 6.055 MB / 0.6616 GB, free: 7.926 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006701/0.9202, allocations: 81.7 kB / 0.6616 GB, free: 7.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001901/0.9221, allocations: 4.674 MB / 0.6662 GB, free: 3.168 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/0.9233, allocations: 1.368 MB / 0.6675 GB, free: 1.809 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002146/0.9254, allocations: 1.91 MB / 0.6694 GB, free: 15.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.9255, allocations: 305.1 kB / 0.6697 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006292/0.9318, allocations: 4.224 MB / 0.6738 GB, free: 11.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009421/0.9413, allocations: 9.454 MB / 0.6831 GB, free: 15.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/0.9587, allocations: 14.63 MB / 0.6973 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/0.9588, allocations: 53.44 kB / 0.6974 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03551/0.9944, allocations: 17.55 MB / 0.7145 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.9945, allocations: 84 kB / 0.7146 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002335/0.9948, allocations: 180 kB / 0.7148 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/1.01, allocations: 4.543 MB / 0.7192 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007571/1.018, allocations: 2.133 MB / 0.7213 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2234/1.241, allocations: 25.36 MB / 0.7461 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/1.248, allocations: 0.5271 MB / 0.7466 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006311/1.248, allocations: 0.5371 MB / 0.7471 GB, free: 181.7 MB / 0.5294 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 (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.003539/1.252, allocations: 3.123 MB / 0.7502 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007448/1.253, allocations: 0.5639 MB / 0.7507 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02008/1.273, allocations: 10.71 MB / 0.7612 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.87e-05/1.273, allocations: 18.19 kB / 0.7612 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/1.273, allocations: 0 / 0.7612 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.274, allocations: 0.5947 MB / 0.7618 GB, free: 177.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009028/1.275, allocations: 59.66 kB / 0.7618 GB, free: 177.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.278, allocations: 219.6 kB / 0.762 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006673/1.278, allocations: 299.8 kB / 0.7623 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01974/1.298, allocations: 10.38 MB / 0.7724 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01192/1.31, allocations: 11.48 MB / 0.7837 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003113/1.313, allocations: 3.244 MB / 0.7868 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004189/1.317, allocations: 3.777 MB / 0.7905 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of Backend: time 3.9e-07/1.317, allocations: 0 / 0.7905 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.329, allocations: 7.913 MB / 0.7982 GB, free: 151 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01946/1.349, allocations: 15.03 MB / 0.8129 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.1234/1.472, allocations: 93.87 MB / 0.9046 GB, free: 42.67 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches