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.001111/0.001111, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001242/0.001242, allocations: 158.3 kB / 25.45 MB, free: 8.859 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 0.8635/0.8635, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 3.984 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.605e-05, allocations: 2.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01179/0.01181, allocations: 16.86 MB / 316.6 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.02297, allocations: 5.814 MB / 322.4 MB, free: 156 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.02655, allocations: 190.9 kB / 322.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006554/0.03311, allocations: 6.008 MB / 328.6 MB, free: 9.938 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006928/0.04004, allocations: 3.573 MB / 332.1 MB, free: 6.348 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.04251, allocations: 1.805 MB / 333.9 MB, free: 4.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0118/0.05431, allocations: 13.25 MB / 347.2 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1636/0.2179, allocations: 7.499 MB / 354.7 MB, free: 20.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01416/0.2321, allocations: 5.584 MB / 360.3 MB, free: 20.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.2422, allocations: 5.657 MB / 365.9 MB, free: 20.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003329/0.2456, allocations: 0.7471 MB / 366.7 MB, free: 20.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005192/0.2508, allocations: 1.665 MB / 368.4 MB, free: 20.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006984/0.2577, allocations: 4.607 MB / 373 MB, free: 20.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008359/0.2661, allocations: 2.815 MB / 375.8 MB, free: 20 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.2814, allocations: 14.1 MB / 389.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/0.2814, allocations: 6.812 kB / 389.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.2814, allocations: 0 / 389.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0008096/0.2822, allocations: 0 / 389.9 MB, free: 13.55 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02377/0.306, allocations: 10.13 MB / 400 MB, free: 5.992 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.3061, allocations: 23.34 kB / 400 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0218/0.3279, allocations: 5.514 MB / 405.5 MB, free: 460 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/0.3453, allocations: 8.087 MB / 413.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.3456, allocations: 426.8 kB / 414 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002714/0.3484, allocations: 0.5856 MB / 414.6 MB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03237/0.3807, allocations: 16.83 MB / 431.5 MB, free: 6.031 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00047/0.3812, allocations: 97.23 kB / 431.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001321/0.3825, allocations: 266.9 kB / 431.8 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002916/0.3854, allocations: 2.767 MB / 434.6 MB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.4079, allocations: 13.61 MB / 448.2 MB, free: 5.676 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.07271/0.4806, allocations: 62.78 MB / 0.499 GB, free: 6.332 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.4931, allocations: 7.465 MB / 0.5063 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004438/0.4975, allocations: 4.241 MB / 0.5104 GB, free: 10.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1679/0.6654, allocations: 11.22 MB / 0.5214 GB, free: 161.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/0.6655, allocations: 66.03 kB / 0.5215 GB, free: 161.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=280): time 6.753e-06/0.6655, allocations: 0 / 0.5215 GB, free: 161.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=340): time 0.1034/0.7689, allocations: 51.64 MB / 0.5719 GB, free: 136 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.769, allocations: 402.1 kB / 0.5723 GB, free: 135.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/0.7791, allocations: 7.567 MB / 0.5797 GB, free: 127.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001049/0.7802, allocations: 73.7 kB / 0.5797 GB, free: 127.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002331/0.7825, allocations: 5.207 MB / 0.5848 GB, free: 122.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001713/0.7842, allocations: 1.302 MB / 0.5861 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002861/0.7871, allocations: 1.856 MB / 0.5879 GB, free: 119.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.277e-05/0.7871, allocations: 301.1 kB / 0.5882 GB, free: 119.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004195/0.7913, allocations: 4.546 MB / 0.5926 GB, free: 114.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006115/0.7974, allocations: 9.501 MB / 0.6019 GB, free: 102.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/0.8092, allocations: 14.55 MB / 0.6161 GB, free: 86.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000142/0.8094, allocations: 47.94 kB / 0.6162 GB, free: 85.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.02745/0.8368, allocations: 19.67 MB / 0.6354 GB, free: 66.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.591e-05/0.8369, allocations: 79.92 kB / 0.6354 GB, free: 66.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/0.837, allocations: 163.9 kB / 0.6356 GB, free: 66.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01116/0.8482, allocations: 7.03 MB / 0.6425 GB, free: 58.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/0.8521, allocations: 1.934 MB / 0.6444 GB, free: 57.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02815/0.8802, allocations: 34.58 MB / 0.6781 GB, free: 22.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006688/0.8869, allocations: 0.7304 MB / 0.6788 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/0.8885, allocations: 0.4921 MB / 0.6793 GB, free: 20.92 MB / 458.7 MB 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.1719/1.06, allocations: 3.481 MB / 0.6827 GB, free: 142.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/1.062, allocations: 0.6156 MB / 0.6833 GB, free: 142.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/1.082, allocations: 13.2 MB / 0.6962 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.647e-05/1.082, allocations: 36.34 kB / 0.6962 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.02e-05/1.082, allocations: 23.2 kB / 0.6963 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.791e-05/1.082, allocations: 16.12 kB / 0.6963 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0356/1.118, allocations: 24.46 MB / 0.7202 GB, free: 130.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.496e-05/1.118, allocations: 9.688 kB / 0.7202 GB, free: 130.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.119, allocations: 420.6 kB / 0.7206 GB, free: 130.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/1.13, allocations: 6.639 MB / 0.7271 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007668/1.131, allocations: 58.09 kB / 0.7271 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0271/1.158, allocations: 33.34 MB / 0.7597 GB, free: 96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.158, allocations: 4 kB / 0.7597 GB, free: 95.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02009/1.178, allocations: 18.66 MB / 0.7779 GB, free: 77.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003731/1.181, allocations: 1.411 MB / 0.7793 GB, free: 76.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.183, allocations: 63.98 kB / 0.7793 GB, free: 76.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003009/1.186, allocations: 436.4 kB / 0.7798 GB, free: 75.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006784/1.187, allocations: 257.1 kB / 0.78 GB, free: 75.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/1.187, allocations: 91.98 kB / 0.7801 GB, free: 75.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006126/1.193, allocations: 4.716 MB / 0.7847 GB, free: 70.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.193, allocations: 0 / 0.7847 GB, free: 70.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01009/1.203, allocations: 2.457 MB / 0.7871 GB, free: 68.5 MB / 458.7 MB 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.001174/1.204, allocations: 234.4 kB / 0.7873 GB, free: 68.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01312/1.217, allocations: 11.09 MB / 0.7982 GB, free: 57.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/1.217, allocations: 4 kB / 0.7982 GB, free: 57.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00571/1.223, allocations: 4.665 MB / 0.8027 GB, free: 52.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006213/1.229, allocations: 0.8976 MB / 0.8036 GB, free: 51.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/1.259, allocations: 20.64 MB / 0.8238 GB, free: 30.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006318/1.265, allocations: 4.994 MB / 0.8286 GB, free: 25.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/1.267, allocations: 456.3 kB / 0.8291 GB, free: 25.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/1.267, allocations: 1.969 kB / 0.8291 GB, free: 25.46 MB / 458.7 MB Notification: Performance of Templates: time 0.5631/1.83, allocations: 211.7 MB / 1.036 GB, free: 147.1 MB / 474.7 MB " [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: 14.229825576767325]