Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001461/0.001461, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001493/0.001493, allocations: 161 kB / 25.02 MB, free: 8.945 MB / 18.57 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.412/1.412, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.274e-05, allocations: 6.109 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02488/0.02492, allocations: 17.8 MB / 268.2 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01536/0.04027, allocations: 6.024 MB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004395/0.04467, allocations: 198.9 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01413/0.0588, allocations: 6.619 MB / 281 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.06961, allocations: 3.689 MB / 284.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004609/0.07422, allocations: 1.93 MB / 286.6 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0213/0.09552, allocations: 13.56 MB / 300.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01305/0.1086, allocations: 8.106 MB / 308.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01513/0.1237, allocations: 5.824 MB / 314.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0119/0.1356, allocations: 5.889 MB / 320 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002947/0.1386, allocations: 0.793 MB / 320.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005094/0.1437, allocations: 1.721 MB / 322.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006985/0.1506, allocations: 4.824 MB / 327.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006521/0.1572, allocations: 2.961 MB / 330.3 MB, free: 7.582 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0229/0.1801, allocations: 14.75 MB / 345.1 MB, free: 8.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1801, allocations: 0 / 345.1 MB, free: 8.781 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1801, allocations: 0 / 345.1 MB, free: 8.781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005047/0.1806, allocations: 0 / 345.1 MB, free: 8.781 MB / 330.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.2221/0.4027, allocations: 10.61 MB / 355.7 MB, free: 96.75 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.4027, allocations: 13.11 kB / 355.7 MB, free: 96.74 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04353/0.4463, allocations: 6.32 MB / 362 MB, free: 93.07 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01695/0.4632, allocations: 8.29 MB / 370.3 MB, free: 85.34 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/0.4636, allocations: 449.6 kB / 370.7 MB, free: 84.95 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002413/0.466, allocations: 0.6187 MB / 371.4 MB, free: 84.38 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03032/0.4963, allocations: 17.76 MB / 389.1 MB, free: 65.65 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003104/0.4966, allocations: 95.3 kB / 389.2 MB, free: 65.56 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/0.4977, allocations: 281.1 kB / 389.5 MB, free: 65.33 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003714/0.5014, allocations: 2.884 MB / 392.4 MB, free: 62.46 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02589/0.5273, allocations: 14.32 MB / 406.7 MB, free: 48.14 MB / 330.8 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.09013/0.6174, allocations: 64.83 MB / 471.5 MB, free: 14.2 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0217/0.6391, allocations: 6.772 MB / 478.3 MB, free: 7.383 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007678/0.6468, allocations: 4.331 MB / 482.6 MB, free: 3.047 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02627/0.6731, allocations: 11.45 MB / 494.1 MB, free: 7.691 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.891e-05/0.6732, allocations: 72.44 kB / 494.1 MB, free: 7.613 MB / 378.8 MB Notification: Performance of pre-optimization done (n=296): time 6.201e-06/0.6732, allocations: 0 / 494.1 MB, free: 7.613 MB / 378.8 MB Notification: Performance of matching and sorting (n=368): time 0.3399/1.013, allocations: 68.69 MB / 0.5496 GB, free: 88.22 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/1.013, allocations: 406.2 kB / 0.55 GB, free: 87.74 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01234/1.026, allocations: 7.721 MB / 0.5576 GB, free: 80.24 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001188/1.027, allocations: 81.7 kB / 0.5577 GB, free: 80.15 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003388/1.03, allocations: 5.37 MB / 0.5629 GB, free: 75.25 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001925/1.032, allocations: 1.4 MB / 0.5643 GB, free: 73.87 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002929/1.035, allocations: 1.905 MB / 0.5661 GB, free: 71.95 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 6.183e-05/1.035, allocations: 309 kB / 0.5664 GB, free: 71.65 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005716/1.041, allocations: 4.969 MB / 0.5713 GB, free: 66.67 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007741/1.049, allocations: 9.988 MB / 0.581 GB, free: 54.31 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/1.065, allocations: 15.49 MB / 0.5961 GB, free: 36.51 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001793/1.065, allocations: 48 kB / 0.5962 GB, free: 36.46 MB / 378.8 MB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.0445/1.109, allocations: 21.77 MB / 0.6175 GB, free: 14.65 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002728/1.109, allocations: 76.03 kB / 0.6175 GB, free: 14.57 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003361/1.11, allocations: 164 kB / 0.6177 GB, free: 14.41 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1631/1.273, allocations: 8.649 MB / 0.6261 GB, free: 111.9 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007023/1.28, allocations: 2.028 MB / 0.6281 GB, free: 111.9 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04751/1.327, allocations: 37.07 MB / 0.6643 GB, free: 95.22 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009408/1.337, allocations: 0.7945 MB / 0.6651 GB, free: 94.66 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/1.339, allocations: 0.5034 MB / 0.6656 GB, free: 94.17 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 742 * 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],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[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],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.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],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.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 (1081): * Single equations (assignments): 1075 * 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 {(5,105,72.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.006817/1.345, allocations: 3.615 MB / 0.6691 GB, free: 91.13 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002589/1.348, allocations: 0.7486 MB / 0.6698 GB, free: 90.74 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03007/1.378, allocations: 14.83 MB / 0.6843 GB, free: 76.43 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.522e-05/1.378, allocations: 36 kB / 0.6844 GB, free: 76.4 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.354e-05/1.378, allocations: 20.88 kB / 0.6844 GB, free: 76.38 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.981e-05/1.378, allocations: 15.94 kB / 0.6844 GB, free: 76.36 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05615/1.435, allocations: 25.14 MB / 0.7089 GB, free: 51.29 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.566e-05/1.435, allocations: 11.31 kB / 0.709 GB, free: 51.29 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/1.437, allocations: 0.4953 MB / 0.7094 GB, free: 50.79 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02478/1.462, allocations: 8.353 MB / 0.7176 GB, free: 42.51 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001171/1.463, allocations: 74.09 kB / 0.7177 GB, free: 42.44 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04728/1.51, allocations: 36.49 MB / 0.7533 GB, free: 5.91 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.51, allocations: 11.94 kB / 0.7533 GB, free: 5.898 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2189/1.729, allocations: 21.24 MB / 0.7741 GB, free: 123.2 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006903/1.736, allocations: 1.532 MB / 0.7755 GB, free: 123.1 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003652/1.74, allocations: 70.44 kB / 0.7756 GB, free: 123 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007654/1.747, allocations: 0.502 MB / 0.7761 GB, free: 123 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002141/1.749, allocations: 279.3 kB / 0.7764 GB, free: 122.9 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004995/1.75, allocations: 105.9 kB / 0.7765 GB, free: 122.9 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.008785/1.759, allocations: 4.814 MB / 0.7812 GB, free: 121.3 MB / 394.8 MB Notification: Performance of sort global known variables: time 9e-08/1.759, allocations: 0 / 0.7812 GB, free: 121.3 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01304/1.772, allocations: 2.637 MB / 0.7837 GB, free: 121.1 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (240): * Single equations (assignments): 234 * 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 {(5,100,72.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/1.773, allocations: 245.6 kB / 0.784 GB, free: 121 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01868/1.792, allocations: 11.77 MB / 0.7955 GB, free: 116.6 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/1.792, allocations: 7 kB / 0.7955 GB, free: 116.6 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007131/1.799, allocations: 4.91 MB / 0.8003 GB, free: 112.7 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008084/1.807, allocations: 1 MB / 0.8013 GB, free: 111.9 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03846/1.846, allocations: 20.36 MB / 0.8211 GB, free: 92.03 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008074/1.854, allocations: 5.314 MB / 0.8263 GB, free: 86.69 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.006409/1.86, allocations: 2.708 MB / 0.829 GB, free: 84.05 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/1.862, allocations: 408.4 kB / 0.8294 GB, free: 83.65 MB / 394.8 MB Notification: Performance of SimCode: time 2.264e-06/1.862, allocations: 2.953 kB / 0.8294 GB, free: 83.65 MB / 394.8 MB Notification: Performance of Templates: time 0.3158/2.178, allocations: 107.5 MB / 0.9343 GB, free: 106.4 MB / 394.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.587850903975777]