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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008738/0.0008738, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004308/0.004308, allocations: 159.5 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8704/0.8704, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.292e-05, allocations: 2.281 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01412/0.01414, allocations: 14.96 MB / 340.8 MB, free: 368 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.02487, allocations: 5.264 MB / 346 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/0.02735, allocations: 143.2 kB / 346.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005164/0.03251, allocations: 4.465 MB / 350.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004682/0.03719, allocations: 2.896 MB / 353.5 MB, free: 3.543 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.03923, allocations: 1.622 MB / 355.1 MB, free: 1.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007648/0.04688, allocations: 10.06 MB / 365.2 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004602/0.05148, allocations: 5.407 MB / 370.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/0.05547, allocations: 4.132 MB / 374.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/0.05927, allocations: 4.427 MB / 379.2 MB, free: 9.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006029/0.05987, allocations: 0.5547 MB / 379.7 MB, free: 9.223 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.06169, allocations: 1.588 MB / 381.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002175/0.06386, allocations: 3.592 MB / 384.9 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.06547, allocations: 2.193 MB / 387.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007983/0.07345, allocations: 11.42 MB / 398.5 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.07345, allocations: 0 / 398.5 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.07346, allocations: 3.938 kB / 398.5 MB, free: 6.371 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001363/0.07359, allocations: 0 / 398.5 MB, free: 6.371 MB / 362.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.01086/0.08445, allocations: 8.463 MB / 407 MB, free: 13.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.0845, allocations: 11.98 kB / 407 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.09748, allocations: 3.838 MB / 410.8 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009097/0.1066, allocations: 5.192 MB / 416 MB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.1068, allocations: 369.8 kB / 416.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/0.1082, allocations: 0.5152 MB / 416.9 MB, free: 3.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.1265, allocations: 16.44 MB / 433.3 MB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.1266, allocations: 87.34 kB / 433.4 MB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/0.1271, allocations: 231.8 kB / 433.7 MB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00274/0.1298, allocations: 2.93 MB / 436.6 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01753/0.1473, allocations: 13.71 MB / 450.3 MB, free: 1.27 MB / 410.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.2187/0.3661, allocations: 60.62 MB / 0.4989 GB, free: 56.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.3777, allocations: 7.379 MB / 0.5061 GB, free: 48.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/0.3811, allocations: 3.987 MB / 0.51 GB, free: 44.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01655/0.3976, allocations: 16.6 MB / 0.5262 GB, free: 28.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.3977, allocations: 68.5 kB / 0.5263 GB, free: 28.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=290): time 6.603e-06/0.3977, allocations: 0 / 0.5263 GB, free: 28.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=372): time 0.09246/0.4901, allocations: 51.4 MB / 0.5765 GB, free: 9.312 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.4902, allocations: 269.8 kB / 0.5768 GB, free: 8.992 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007006/0.4973, allocations: 6.091 MB / 0.5827 GB, free: 3.137 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006007/0.4979, allocations: 85.7 kB / 0.5828 GB, free: 3.047 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002223/0.5001, allocations: 4.845 MB / 0.5875 GB, free: 14.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001217/0.5013, allocations: 1.416 MB / 0.5889 GB, free: 12.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002121/0.5034, allocations: 1.896 MB / 0.5908 GB, free: 10.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.5035, allocations: 305.1 kB / 0.5911 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/0.5077, allocations: 4.216 MB / 0.5952 GB, free: 6.461 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007106/0.5148, allocations: 9.554 MB / 0.6045 GB, free: 10.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2095/0.7244, allocations: 14.63 MB / 0.6188 GB, free: 150.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000145/0.7245, allocations: 52.47 kB / 0.6188 GB, free: 150.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.02166/0.7462, allocations: 17.46 MB / 0.6359 GB, free: 145.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.7462, allocations: 81.19 kB / 0.636 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.7463, allocations: 184.1 kB / 0.6361 GB, free: 145.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006617/0.753, allocations: 4.531 MB / 0.6406 GB, free: 143.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/0.7563, allocations: 2.123 MB / 0.6426 GB, free: 142 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/0.775, allocations: 24.96 MB / 0.667 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005073/0.7801, allocations: 0.6267 MB / 0.6676 GB, free: 116.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006122/0.7807, allocations: 0.5337 MB / 0.6682 GB, free: 116.1 MB / 474.7 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 (1133): * Single equations (assignments): 1128 * 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 {(1,45,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003594/0.7843, allocations: 3.112 MB / 0.6712 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007341/0.785, allocations: 0.5582 MB / 0.6717 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.7961, allocations: 10.61 MB / 0.6821 GB, free: 102.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/0.7961, allocations: 38.66 kB / 0.6821 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.7961, allocations: 20 kB / 0.6822 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.7961, allocations: 15.94 kB / 0.6822 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02093/0.8171, allocations: 18.53 MB / 0.7003 GB, free: 83.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/0.8171, allocations: 7.984 kB / 0.7003 GB, free: 83.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.8185, allocations: 0.5383 MB / 0.7008 GB, free: 83.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006357/0.8248, allocations: 4.175 MB / 0.7049 GB, free: 78.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002651/0.8251, allocations: 63.98 kB / 0.7049 GB, free: 78.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/0.8425, allocations: 22.68 MB / 0.7271 GB, free: 56.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8425, allocations: 0 / 0.7271 GB, free: 56.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/0.8582, allocations: 15.58 MB / 0.7423 GB, free: 40.66 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/0.8599, allocations: 0.5639 MB / 0.7428 GB, free: 40.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000468/0.8604, allocations: 59.94 kB / 0.7429 GB, free: 40.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/0.8621, allocations: 315.5 kB / 0.7432 GB, free: 39.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005726/0.8627, allocations: 242 kB / 0.7434 GB, free: 39.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.8628, allocations: 95.98 kB / 0.7435 GB, free: 39.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003373/0.8662, allocations: 3.601 MB / 0.747 GB, free: 35.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8662, allocations: 0 / 0.747 GB, free: 35.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005789/0.872, allocations: 2.161 MB / 0.7492 GB, free: 33.68 MB / 474.7 MB 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 (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,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005215/0.8725, allocations: 227.6 kB / 0.7494 GB, free: 33.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009486/0.882, allocations: 10.04 MB / 0.7592 GB, free: 23.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.882, allocations: 0 / 0.7592 GB, free: 23.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00318/0.8852, allocations: 3.801 MB / 0.7629 GB, free: 19.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.8879, allocations: 0.6962 MB / 0.7636 GB, free: 18.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.9047, allocations: 17.07 MB / 0.7802 GB, free: 1.777 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003408/0.9081, allocations: 4.337 MB / 0.7845 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/0.9096, allocations: 440.4 kB / 0.7849 GB, free: 12.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.393e-06/0.9096, allocations: 3.828 kB / 0.7849 GB, free: 12.98 MB / 490.7 MB Notification: Performance of Templates: time 0.2514/1.161, allocations: 156.1 MB / 0.9373 GB, free: 28.98 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.308414471335709]