Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001458/0.001458, allocations: 96.27 kB / 20.96 MB, free: 3.449 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.001512/0.001512, allocations: 152.9 kB / 24.26 MB, free: 156 kB / 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 1.499/1.499, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.481e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02266/0.02269, allocations: 16.75 MB / 289 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1288/0.1515, allocations: 5.783 MB / 294.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003194/0.1547, allocations: 194 kB / 294.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.165, allocations: 6.075 MB / 301 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007315/0.1723, allocations: 3.515 MB / 304.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.1753, allocations: 1.829 MB / 306.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01317/0.1885, allocations: 14.8 MB / 321.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.012/0.2005, allocations: 7.71 MB / 328.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01266/0.2131, allocations: 5.521 MB / 334.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.2235, allocations: 5.663 MB / 340.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003162/0.2267, allocations: 0.7578 MB / 340.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005337/0.232, allocations: 1.674 MB / 342.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007776/0.2398, allocations: 4.574 MB / 347.1 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006826/0.2466, allocations: 2.809 MB / 349.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02083/0.2674, allocations: 14.14 MB / 364 MB, free: 5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2674, allocations: 0 / 364 MB, free: 5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2675, allocations: 0 / 364 MB, free: 5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004455/0.2679, allocations: 0 / 364 MB, free: 5 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.03043/0.2983, allocations: 10.19 MB / 374.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.2984, allocations: 11.98 kB / 374.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04828/0.3467, allocations: 6.249 MB / 380.5 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02174/0.3684, allocations: 7.771 MB / 388.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005598/0.369, allocations: 424.3 kB / 388.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00248/0.3714, allocations: 0.5859 MB / 389.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04132/0.4128, allocations: 17.15 MB / 406.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004713/0.4132, allocations: 103.2 kB / 406.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001951/0.4152, allocations: 271.8 kB / 406.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005672/0.4209, allocations: 2.779 MB / 409.5 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03162/0.4525, allocations: 13.91 MB / 423.4 MB, free: 8.27 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.2763/0.7287, allocations: 63.65 MB / 487.1 MB, free: 70.96 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01743/0.7462, allocations: 7.22 MB / 494.3 MB, free: 65.99 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004418/0.7506, allocations: 4.422 MB / 498.7 MB, free: 61.56 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01649/0.7671, allocations: 11.63 MB / 0.4984 GB, free: 50.09 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.7671, allocations: 72.47 kB / 0.4985 GB, free: 50.02 MB / 378.8 MB Notification: Performance of pre-optimization done (n=286): time 6.482e-06/0.7671, allocations: 0 / 0.4985 GB, free: 50.02 MB / 378.8 MB Notification: Performance of matching and sorting (n=346): time 0.3732/1.14, allocations: 82.59 MB / 0.5791 GB, free: 139.7 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.14, allocations: 397.7 kB / 0.5795 GB, free: 139.3 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/1.153, allocations: 7.2 MB / 0.5865 GB, free: 137.9 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001061/1.154, allocations: 78.44 kB / 0.5866 GB, free: 137.9 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003365/1.157, allocations: 5.148 MB / 0.5916 GB, free: 135.2 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00181/1.159, allocations: 1.32 MB / 0.5929 GB, free: 134.2 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003131/1.162, allocations: 1.85 MB / 0.5947 GB, free: 133.3 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.822e-05/1.162, allocations: 308.7 kB / 0.595 GB, free: 133 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006319/1.168, allocations: 5.464 MB / 0.6004 GB, free: 131 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007977/1.176, allocations: 10.31 MB / 0.6104 GB, free: 122.7 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/1.192, allocations: 16.26 MB / 0.6263 GB, free: 110.7 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001234/1.193, allocations: 44 kB / 0.6264 GB, free: 110.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.04723/1.24, allocations: 24.92 MB / 0.6507 GB, free: 86.96 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/1.24, allocations: 72 kB / 0.6508 GB, free: 86.89 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.24, allocations: 156.9 kB / 0.6509 GB, free: 86.73 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03251/1.272, allocations: 11.78 MB / 0.6624 GB, free: 74.95 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005822/1.278, allocations: 1.946 MB / 0.6643 GB, free: 73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05259/1.331, allocations: 45.2 MB / 0.7085 GB, free: 27.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008708/1.34, allocations: 0.8385 MB / 0.7093 GB, free: 26.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001355/1.341, allocations: 492 kB / 0.7097 GB, free: 26.18 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 715 * Number of states: 0 () * Number of discrete variables: 66 (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 (1025): * Single equations (assignments): 1019 * 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,100,55.1%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.004719/1.346, allocations: 3.452 MB / 0.7131 GB, free: 22.72 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001858/1.348, allocations: 0.7262 MB / 0.7138 GB, free: 21.99 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.168/1.515, allocations: 18.31 MB / 0.7317 GB, free: 126.6 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-05/1.516, allocations: 39.09 kB / 0.7317 GB, free: 126.6 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.429e-05/1.516, allocations: 21.38 kB / 0.7318 GB, free: 126.6 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.425e-05/1.516, allocations: 15.14 kB / 0.7318 GB, free: 126.6 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05637/1.572, allocations: 31.62 MB / 0.7627 GB, free: 111.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/1.572, allocations: 8 kB / 0.7627 GB, free: 111.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/1.574, allocations: 477.2 kB / 0.7631 GB, free: 111.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0311/1.605, allocations: 11.35 MB / 0.7742 GB, free: 100.1 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009632/1.606, allocations: 67.98 kB / 0.7743 GB, free: 100.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05058/1.657, allocations: 43.79 MB / 0.817 GB, free: 56.29 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.657, allocations: 11.94 kB / 0.817 GB, free: 56.28 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0417/1.699, allocations: 25.3 MB / 0.8417 GB, free: 31.15 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/1.7, allocations: 0.6793 MB / 0.8424 GB, free: 30.78 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001645/1.702, allocations: 60 kB / 0.8425 GB, free: 30.72 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005126/1.707, allocations: 0.5497 MB / 0.843 GB, free: 30.18 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001459/1.709, allocations: 270.3 kB / 0.8433 GB, free: 29.91 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003868/1.709, allocations: 88.06 kB / 0.8433 GB, free: 29.82 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006042/1.715, allocations: 4.471 MB / 0.8477 GB, free: 25.36 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.5e-07/1.715, allocations: 0 / 0.8477 GB, free: 25.36 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01003/1.725, allocations: 2.634 MB / 0.8503 GB, free: 22.73 MB / 410.8 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 (210): * Single equations (assignments): 204 * 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,93,55.1%), (2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009461/1.726, allocations: 227.8 kB / 0.8505 GB, free: 22.52 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01843/1.745, allocations: 12.99 MB / 0.8632 GB, free: 9.48 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/1.745, allocations: 4 kB / 0.8632 GB, free: 9.477 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1398/1.884, allocations: 5.712 MB / 0.8688 GB, free: 122.3 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007751/1.892, allocations: 0.949 MB / 0.8697 GB, free: 122.2 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/1.923, allocations: 20.05 MB / 0.8893 GB, free: 116.7 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006315/1.929, allocations: 5.073 MB / 0.8942 GB, free: 115.9 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005593/1.935, allocations: 2.548 MB / 0.8967 GB, free: 115.9 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.936, allocations: 379.5 kB / 0.8971 GB, free: 115.9 MB / 410.8 MB Notification: Performance of SimCode: time 1.252e-06/1.936, allocations: 0 / 0.8971 GB, free: 115.9 MB / 410.8 MB Notification: Performance of Templates: time 0.1349/2.071, allocations: 113.6 MB / 1.008 GB, free: 9.316 MB / 410.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.44633328402415]