Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 213 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002856/0.002856, allocations: 51.92 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2874, allocations: 49.16 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01716/0.3045, allocations: 16.83 MB / 413.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01537/0.3199, allocations: 5.821 MB / 419.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005156/0.325, allocations: 191.8 kB / 419.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01291/0.338, allocations: 5.698 MB / 425.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.3495, allocations: 3.486 MB / 428.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.3536, allocations: 1.58 MB / 430.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01729/0.3709, allocations: 11.39 MB / 441.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008159/0.3791, allocations: 5.947 MB / 447.8 MB, free: 84 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006891/0.3859, allocations: 3.661 MB / 451.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008307/0.3943, allocations: 4.872 MB / 456.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002404/0.3967, allocations: 0.7187 MB / 457 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004943/0.4016, allocations: 1.58 MB / 458.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007058/0.4087, allocations: 4.352 MB / 463 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009095/0.4178, allocations: 3.431 MB / 466.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02101/0.4388, allocations: 13.82 MB / 480.2 MB, free: 15.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.4388, allocations: 0 / 480.2 MB, free: 15.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4388, allocations: 4 kB / 480.2 MB, free: 15.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000588/0.4394, allocations: 0 / 480.2 MB, free: 15.53 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.0333/0.4727, allocations: 9.866 MB / 490.1 MB, free: 5.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4727, allocations: 11.98 kB / 490.1 MB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04652/0.5192, allocations: 5.3 MB / 495.4 MB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02451/0.5437, allocations: 8.303 MB / 0.4919 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004973/0.5442, allocations: 431.4 kB / 0.4923 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002504/0.5467, allocations: 0.5855 MB / 0.4929 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03537/0.5821, allocations: 16.82 MB / 0.5093 GB, free: 4.926 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003115/0.5824, allocations: 99.3 kB / 0.5094 GB, free: 4.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008097/0.5832, allocations: 263.8 kB / 0.5097 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004816/0.5881, allocations: 2.768 MB / 0.5124 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03322/0.6213, allocations: 13.59 MB / 0.5256 GB, free: 4.191 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.5381/1.159, allocations: 61.36 MB / 0.5855 GB, free: 101.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01877/1.178, allocations: 7.196 MB / 0.5926 GB, free: 100.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00499/1.183, allocations: 4.242 MB / 0.5967 GB, free: 98.86 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/1.201, allocations: 10.73 MB / 0.6072 GB, free: 94.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/1.201, allocations: 65.75 kB / 0.6073 GB, free: 94.35 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 6.372e-06/1.201, allocations: 0 / 0.6073 GB, free: 94.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1596/1.361, allocations: 49.6 MB / 0.6557 GB, free: 53.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/1.361, allocations: 394.1 kB / 0.6561 GB, free: 52.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008363/1.369, allocations: 6.837 MB / 0.6628 GB, free: 46.15 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008388/1.37, allocations: 77.7 kB / 0.6628 GB, free: 46.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002785/1.373, allocations: 5.234 MB / 0.6679 GB, free: 41.31 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001698/1.375, allocations: 1.329 MB / 0.6692 GB, free: 40 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002426/1.377, allocations: 1.877 MB / 0.6711 GB, free: 38.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.329e-05/1.377, allocations: 301.1 kB / 0.6714 GB, free: 37.81 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005014/1.382, allocations: 4.551 MB / 0.6758 GB, free: 33.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006851/1.389, allocations: 9.491 MB / 0.6851 GB, free: 21.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/1.403, allocations: 14.55 MB / 0.6993 GB, free: 4.656 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001285/1.403, allocations: 44 kB / 0.6993 GB, free: 4.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04455/1.448, allocations: 19.67 MB / 0.7185 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1.448, allocations: 72 kB / 0.7186 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002109/1.448, allocations: 168.1 kB / 0.7188 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02345/1.472, allocations: 7.033 MB / 0.7256 GB, free: 9.602 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007223/1.479, allocations: 1.93 MB / 0.7275 GB, free: 7.668 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05789/1.537, allocations: 34.59 MB / 0.7613 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0097/1.546, allocations: 0.5813 MB / 0.7619 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001999/1.548, allocations: 499.6 kB / 0.7623 GB, free: 3.715 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1043 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.007924/1.556, allocations: 3.492 MB / 0.7657 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2514/1.808, allocations: 0.6173 MB / 0.7663 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03067/1.838, allocations: 13.19 MB / 0.7792 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/1.838, allocations: 39.19 kB / 0.7793 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.032e-05/1.839, allocations: 19.84 kB / 0.7793 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8e-05/1.839, allocations: 17 kB / 0.7793 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04737/1.886, allocations: 24.14 MB / 0.8029 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.653e-05/1.886, allocations: 7.406 kB / 0.8029 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/1.888, allocations: 434 kB / 0.8033 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01894/1.907, allocations: 6.629 MB / 0.8098 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009922/1.908, allocations: 63.83 kB / 0.8098 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03824/1.946, allocations: 33.29 MB / 0.8423 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.946, allocations: 11.94 kB / 0.8424 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03151/1.978, allocations: 18.67 MB / 0.8606 GB, free: 119 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005422/1.983, allocations: 1.283 MB / 0.8618 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/1.985, allocations: 63.98 kB / 0.8619 GB, free: 118 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004631/1.989, allocations: 303.5 kB / 0.8622 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009502/1.99, allocations: 254.5 kB / 0.8624 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/1.991, allocations: 91.31 kB / 0.8625 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006584/1.997, allocations: 4.173 MB / 0.8666 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.997, allocations: 0 / 0.8666 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009039/2.006, allocations: 2.136 MB / 0.8687 GB, free: 111.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (Inertia.phi,Inertia.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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008182/2.007, allocations: 209.7 kB / 0.8689 GB, free: 110.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01589/2.023, allocations: 11.1 MB / 0.8797 GB, free: 99.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/2.023, allocations: 4 kB / 0.8797 GB, free: 99.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007301/2.03, allocations: 4.675 MB / 0.8843 GB, free: 95.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005366/2.036, allocations: 0.9048 MB / 0.8852 GB, free: 94.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03339/2.069, allocations: 20.03 MB / 0.9047 GB, free: 74.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00678/2.076, allocations: 5.091 MB / 0.9097 GB, free: 69.14 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005681/2.082, allocations: 2.55 MB / 0.9122 GB, free: 66.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009642/2.083, allocations: 367.4 kB / 0.9125 GB, free: 66.23 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/2.083, allocations: 0 / 0.9125 GB, free: 66.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.3587/2.441, allocations: 99.92 MB / 1.01 GB, free: 151.9 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 9.65040467493236]