Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001525/0.001525, allocations: 110.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001801/0.001801, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2086, allocations: 50.55 MB / 410 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01638/0.225, allocations: 17.23 MB / 427.2 MB, free: 316 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009425/0.2345, allocations: 5.475 MB / 432.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.2358, allocations: 115.6 kB / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00702/0.2429, allocations: 4.361 MB / 437.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00465/0.2475, allocations: 2.711 MB / 439.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.2499, allocations: 1.455 MB / 441.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009228/0.2592, allocations: 8.659 MB / 450 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005231/0.2644, allocations: 5.36 MB / 455.3 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.2673, allocations: 2.656 MB / 458 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004312/0.2717, allocations: 3.832 MB / 461.8 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009881/0.2727, allocations: 0.5352 MB / 462.3 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.2753, allocations: 1.623 MB / 464 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002673/0.278, allocations: 3.351 MB / 467.3 MB, free: 8.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003034/0.281, allocations: 3.631 MB / 471 MB, free: 4.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009232/0.2903, allocations: 11.14 MB / 482.1 MB, free: 9.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2903, allocations: 8 kB / 482.1 MB, free: 9.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2903, allocations: 3.938 kB / 482.1 MB, free: 9.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001086/0.2904, allocations: 0 / 482.1 MB, free: 9.164 MB / 398.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.01385/0.3043, allocations: 8.183 MB / 490.3 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3043, allocations: 8.031 kB / 490.3 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02628/0.3306, allocations: 3.673 MB / 494 MB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.3425, allocations: 5.297 MB / 499.3 MB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.3428, allocations: 369.5 kB / 499.6 MB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.3441, allocations: 0.5151 MB / 0.4884 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02734/0.3715, allocations: 16.25 MB / 0.5043 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002174/0.3717, allocations: 79.3 kB / 0.5044 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009275/0.3727, allocations: 235.8 kB / 0.5046 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004451/0.3771, allocations: 2.93 MB / 0.5075 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.026/0.4031, allocations: 13.72 MB / 0.5208 GB, free: 4.641 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.2365/0.6397, allocations: 64.53 MB / 0.5839 GB, free: 75.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01987/0.6596, allocations: 7.871 MB / 0.5916 GB, free: 72.15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004352/0.6639, allocations: 4.347 MB / 0.5958 GB, free: 69.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02148/0.6854, allocations: 19.46 MB / 0.6148 GB, free: 51.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.6855, allocations: 71.97 kB / 0.6149 GB, free: 51.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=290): time 5.43e-06/0.6855, allocations: 0 / 0.6149 GB, free: 51.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=372): time 0.1456/0.8311, allocations: 49.83 MB / 0.6635 GB, free: 1.828 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.8312, allocations: 281.8 kB / 0.6638 GB, free: 1.496 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007027/0.8382, allocations: 6.035 MB / 0.6697 GB, free: 11.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004509/0.8387, allocations: 81.7 kB / 0.6698 GB, free: 11.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00281/0.8415, allocations: 4.671 MB / 0.6743 GB, free: 6.695 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/0.8427, allocations: 1.371 MB / 0.6757 GB, free: 5.336 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002401/0.8451, allocations: 1.916 MB / 0.6775 GB, free: 3.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.8452, allocations: 301.1 kB / 0.6778 GB, free: 3.113 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005752/0.851, allocations: 4.239 MB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008814/0.8598, allocations: 9.457 MB / 0.6912 GB, free: 2.859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/0.876, allocations: 14.64 MB / 0.7055 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.007e-05/0.8761, allocations: 52 kB / 0.7056 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03383/0.91, allocations: 17.56 MB / 0.7227 GB, free: 16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.9101, allocations: 90.75 kB / 0.7228 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/0.9103, allocations: 180 kB / 0.723 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01452/0.9248, allocations: 4.543 MB / 0.7274 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006952/0.9318, allocations: 2.129 MB / 0.7295 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2412/1.173, allocations: 25.36 MB / 0.7542 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006615/1.18, allocations: 0.5348 MB / 0.7548 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/1.181, allocations: 0.5344 MB / 0.7553 GB, free: 170.1 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.004074/1.185, allocations: 3.12 MB / 0.7583 GB, free: 169 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008747/1.186, allocations: 0.5671 MB / 0.7589 GB, free: 169 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02005/1.206, allocations: 10.72 MB / 0.7694 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/1.206, allocations: 20.55 kB / 0.7694 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.206, allocations: 0 / 0.7694 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009894/1.207, allocations: 0.5891 MB / 0.77 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000665/1.208, allocations: 55.56 kB / 0.77 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/1.21, allocations: 233 kB / 0.7702 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005667/1.211, allocations: 300.4 kB / 0.7705 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01877/1.23, allocations: 10.4 MB / 0.7807 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01161/1.241, allocations: 11.49 MB / 0.7919 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003158/1.244, allocations: 3.251 MB / 0.7951 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004062/1.249, allocations: 3.769 MB / 0.7988 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of Backend: time 4.11e-07/1.249, allocations: 0 / 0.7988 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.26, allocations: 7.935 MB / 0.8065 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01614/1.276, allocations: 15.03 MB / 0.8212 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.1161/1.392, allocations: 93.71 MB / 0.9127 GB, free: 24.1 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches