Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 153.4 kB / 24.25 MB, free: 188 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] 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.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 267.4 MB, free: 6.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.977e-05, allocations: 2.312 kB / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02455/0.02458, allocations: 17.73 MB / 285.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1367/0.1612, allocations: 5.998 MB / 291.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00367/0.1649, allocations: 205.2 kB / 291.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.1768, allocations: 6.611 MB / 297.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008009/0.1849, allocations: 3.669 MB / 301.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.1883, allocations: 1.92 MB / 303.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01371/0.202, allocations: 14.57 MB / 318.1 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01114/0.2131, allocations: 8.072 MB / 326.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/0.2267, allocations: 5.796 MB / 331.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01084/0.2376, allocations: 5.861 MB / 337.8 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002636/0.2402, allocations: 0.793 MB / 338.6 MB, free: 496 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/0.245, allocations: 1.719 MB / 340.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006681/0.2517, allocations: 4.804 MB / 345.1 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005953/0.2577, allocations: 2.955 MB / 348.1 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02262/0.2803, allocations: 14.73 MB / 362.8 MB, free: 9.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.2803, allocations: 4 kB / 362.8 MB, free: 9.094 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2803, allocations: 0 / 362.8 MB, free: 9.094 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005142/0.2808, allocations: 0 / 362.8 MB, free: 9.094 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.03046/0.3113, allocations: 10.58 MB / 373.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3113, allocations: 8.922 kB / 373.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04626/0.3576, allocations: 6.308 MB / 379.7 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0235/0.3811, allocations: 7.958 MB / 387.6 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006954/0.3818, allocations: 448 kB / 388.1 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00329/0.3851, allocations: 0.6249 MB / 388.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03909/0.4241, allocations: 17.76 MB / 406.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003472/0.4245, allocations: 105.1 kB / 406.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/0.4257, allocations: 279.8 kB / 406.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005262/0.431, allocations: 2.878 MB / 409.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03437/0.4653, allocations: 14.32 MB / 424 MB, free: 10.57 MB / 378.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.3003/0.7656, allocations: 65.42 MB / 489.5 MB, free: 74.05 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01845/0.7841, allocations: 7.489 MB / 496.9 MB, free: 69.89 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00462/0.7887, allocations: 4.505 MB / 0.4897 GB, free: 65.38 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01694/0.8057, allocations: 11.89 MB / 0.5013 GB, free: 53.65 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.8057, allocations: 72.44 kB / 0.5014 GB, free: 53.57 MB / 378.8 MB Notification: Performance of pre-optimization done (n=298): time 5.921e-06/0.8057, allocations: 0 / 0.5014 GB, free: 53.57 MB / 378.8 MB Notification: Performance of matching and sorting (n=365): time 0.4355/1.241, allocations: 87.24 MB / 0.5866 GB, free: 125.3 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/1.241, allocations: 405.4 kB / 0.587 GB, free: 124.8 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009835/1.251, allocations: 7.393 MB / 0.5942 GB, free: 122.1 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001097/1.252, allocations: 81.2 kB / 0.5942 GB, free: 122 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002816/1.255, allocations: 5.338 MB / 0.5995 GB, free: 118 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001777/1.257, allocations: 1.389 MB / 0.6008 GB, free: 116.8 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002868/1.26, allocations: 1.905 MB / 0.6027 GB, free: 115.8 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.169e-05/1.26, allocations: 305.7 kB / 0.603 GB, free: 115.5 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006378/1.266, allocations: 5.612 MB / 0.6085 GB, free: 112.6 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00906/1.275, allocations: 10.56 MB / 0.6188 GB, free: 100.3 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01658/1.292, allocations: 16.68 MB / 0.6351 GB, free: 81.51 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.292, allocations: 48 kB / 0.6351 GB, free: 81.46 MB / 394.8 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.04816/1.34, allocations: 25.39 MB / 0.6599 GB, free: 56.02 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002325/1.34, allocations: 72.19 kB / 0.66 GB, free: 55.95 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002953/1.341, allocations: 164 kB / 0.6601 GB, free: 55.79 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03413/1.375, allocations: 11.85 MB / 0.6717 GB, free: 43.93 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006923/1.382, allocations: 2.051 MB / 0.6737 GB, free: 41.87 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1961/1.578, allocations: 44.58 MB / 0.7172 GB, free: 107.7 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01164/1.589, allocations: 0.8528 MB / 0.7181 GB, free: 107.7 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002264/1.592, allocations: 0.4948 MB / 0.7185 GB, free: 107.7 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[1],crank2.color[3],crank2.color[2],crank2.color[1],crank2.body.sphereColor[3],crank2.body.sphereColor[2],crank2.body.sphereColor[1],crank1.color[3],crank1.color[2],crank1.color[1],crank1.body.sphereColor[3],crank1.body.sphereColor[2],crank1.body.sphereColor[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1058 * 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,101,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.007395/1.599, allocations: 3.581 MB / 0.722 GB, free: 107 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002395/1.601, allocations: 0.748 MB / 0.7228 GB, free: 107 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03742/1.639, allocations: 18.69 MB / 0.741 GB, free: 101.6 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-05/1.639, allocations: 39.12 kB / 0.7411 GB, free: 101.6 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.002e-05/1.639, allocations: 21.38 kB / 0.7411 GB, free: 101.6 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.568e-05/1.639, allocations: 18.95 kB / 0.7411 GB, free: 101.6 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06397/1.703, allocations: 32.24 MB / 0.7726 GB, free: 75.75 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-05/1.703, allocations: 8 kB / 0.7726 GB, free: 75.75 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/1.706, allocations: 0.5343 MB / 0.7731 GB, free: 75.21 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0324/1.738, allocations: 11.49 MB / 0.7843 GB, free: 63.82 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001305/1.739, allocations: 71.92 kB / 0.7844 GB, free: 63.75 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05567/1.795, allocations: 43.5 MB / 0.8269 GB, free: 20.27 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.795, allocations: 7.938 kB / 0.8269 GB, free: 20.27 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0517/1.847, allocations: 25.95 MB / 0.8522 GB, free: 10.51 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006312/1.853, allocations: 1.623 MB / 0.8538 GB, free: 9.051 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002877/1.856, allocations: 66.08 kB / 0.8539 GB, free: 8.988 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.178/2.034, allocations: 0.5539 MB / 0.8544 GB, free: 127.2 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002182/2.036, allocations: 274.2 kB / 0.8547 GB, free: 127.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007127/2.037, allocations: 95.58 kB / 0.8548 GB, free: 127.2 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.01045/2.047, allocations: 4.582 MB / 0.8592 GB, free: 127 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.8e-07/2.047, allocations: 0 / 0.8592 GB, free: 127 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01455/2.062, allocations: 2.685 MB / 0.8619 GB, free: 127 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (232): * Single equations (assignments): 226 * 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,95,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.001536/2.064, allocations: 243.4 kB / 0.8621 GB, free: 126.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.02179/2.085, allocations: 13.41 MB / 0.8752 GB, free: 124 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/2.085, allocations: 3.906 kB / 0.8752 GB, free: 124 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01007/2.095, allocations: 5.927 MB / 0.881 GB, free: 121.6 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007441/2.103, allocations: 0.9822 MB / 0.8819 GB, free: 121.2 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03335/2.136, allocations: 21.02 MB / 0.9025 GB, free: 104.9 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006796/2.143, allocations: 5.287 MB / 0.9076 GB, free: 101.1 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.006046/2.149, allocations: 2.657 MB / 0.9102 GB, free: 99.15 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/2.151, allocations: 396.4 kB / 0.9106 GB, free: 98.77 MB / 410.8 MB Notification: Performance of SimCode: time 1.733e-06/2.151, allocations: 0 / 0.9106 GB, free: 98.77 MB / 410.8 MB Notification: Performance of Templates: time 0.2931/2.444, allocations: 116.3 MB / 1.024 GB, free: 112.7 MB / 410.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.69642992503941]