Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001846/0.001846, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 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.002259/0.002259, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 51.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2322, allocations: 53.37 MB / 432.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02051/0.2527, allocations: 16.72 MB / 449.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.2704, allocations: 5.787 MB / 454.9 MB, free: 88 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003966/0.2743, allocations: 191 kB / 455 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01575/0.2901, allocations: 5.689 MB / 460.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.3019, allocations: 3.42 MB / 464.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004482/0.3063, allocations: 1.572 MB / 465.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02449/0.3308, allocations: 12.7 MB / 478.4 MB, free: 8.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009773/0.3406, allocations: 5.951 MB / 484.4 MB, free: 2.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005886/0.3465, allocations: 3.634 MB / 488 MB, free: 14.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007728/0.3542, allocations: 5.122 MB / 493.1 MB, free: 9.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002213/0.3564, allocations: 0.7148 MB / 493.9 MB, free: 8.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004203/0.3606, allocations: 1.577 MB / 495.4 MB, free: 7.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005356/0.366, allocations: 4.313 MB / 499.7 MB, free: 3.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004991/0.371, allocations: 3.407 MB / 0.4914 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01535/0.3863, allocations: 13.72 MB / 0.5048 GB, free: 1.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3863, allocations: 4 kB / 0.5048 GB, free: 1.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3863, allocations: 0 / 0.5048 GB, free: 1.824 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003775/0.3867, allocations: 3.938 kB / 0.5048 GB, free: 1.82 MB / 414.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.02127/0.408, allocations: 9.819 MB / 0.5144 GB, free: 7.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.408, allocations: 12.03 kB / 0.5144 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04568/0.4537, allocations: 5.293 MB / 0.5195 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02078/0.4745, allocations: 7.838 MB / 0.5272 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004296/0.4749, allocations: 427.4 kB / 0.5276 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001902/0.4768, allocations: 0.5971 MB / 0.5282 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3619/0.8387, allocations: 16.8 MB / 0.5446 GB, free: 89.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002669/0.8389, allocations: 102.6 kB / 0.5447 GB, free: 89.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000663/0.8396, allocations: 267.8 kB / 0.5449 GB, free: 89.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003777/0.8434, allocations: 2.758 MB / 0.5476 GB, free: 89.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02212/0.8655, allocations: 13.59 MB / 0.5609 GB, free: 81.11 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.05996/0.9255, allocations: 61.44 MB / 0.6209 GB, free: 19.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0173/0.9428, allocations: 7.211 MB / 0.6279 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003954/0.9467, allocations: 4.248 MB / 0.6321 GB, free: 7.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01653/0.9632, allocations: 10.72 MB / 0.6426 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.9633, allocations: 68.5 kB / 0.6426 GB, free: 13.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 5.48e-06/0.9633, allocations: 0 / 0.6426 GB, free: 13.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1845/1.148, allocations: 50.47 MB / 0.6919 GB, free: 11.2 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002358/1.148, allocations: 398.1 kB / 0.6923 GB, free: 10.72 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009396/1.157, allocations: 6.763 MB / 0.6989 GB, free: 4.156 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.000663/1.158, allocations: 77.7 kB / 0.699 GB, free: 4.074 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004071/1.162, allocations: 5.234 MB / 0.7041 GB, free: 14.93 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001616/1.164, allocations: 1.31 MB / 0.7053 GB, free: 13.61 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002892/1.167, allocations: 1.878 MB / 0.7072 GB, free: 11.72 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.167, allocations: 301.1 kB / 0.7075 GB, free: 11.42 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006766/1.174, allocations: 4.547 MB / 0.7119 GB, free: 6.867 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01092/1.185, allocations: 9.493 MB / 0.7212 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01934/1.204, allocations: 14.54 MB / 0.7354 GB, free: 10.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-05/1.204, allocations: 44 kB / 0.7354 GB, free: 10.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.2234/1.427, allocations: 19.67 MB / 0.7546 GB, free: 179.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/1.427, allocations: 72.44 kB / 0.7547 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/1.428, allocations: 161.4 kB / 0.7548 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01932/1.447, allocations: 7.048 MB / 0.7617 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00567/1.453, allocations: 1.929 MB / 0.7636 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03858/1.491, allocations: 34.57 MB / 0.7974 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007001/1.498, allocations: 0.5853 MB / 0.7979 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007353/1.499, allocations: 496 kB / 0.7984 GB, free: 151.9 MB / 0.545 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 (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 (1048): * Single equations (assignments): 1042 * 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.00389/1.503, allocations: 3.479 MB / 0.8018 GB, free: 148.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000976/1.504, allocations: 0.6134 MB / 0.8024 GB, free: 148.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02438/1.528, allocations: 13.19 MB / 0.8153 GB, free: 135.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/1.528, allocations: 38.69 kB / 0.8153 GB, free: 135 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/1.528, allocations: 18.3 kB / 0.8154 GB, free: 135 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/1.528, allocations: 23.88 kB / 0.8154 GB, free: 135 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04026/1.568, allocations: 24.11 MB / 0.8389 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/1.568, allocations: 8 kB / 0.8389 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/1.57, allocations: 415.4 kB / 0.8393 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01831/1.589, allocations: 6.644 MB / 0.8458 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004287/1.589, allocations: 67.98 kB / 0.8459 GB, free: 103.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03647/1.626, allocations: 33.26 MB / 0.8784 GB, free: 70.19 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.626, allocations: 7.938 kB / 0.8784 GB, free: 70.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03992/1.665, allocations: 18.69 MB / 0.8966 GB, free: 51.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002273/1.668, allocations: 0.5837 MB / 0.8972 GB, free: 51.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001879/1.67, allocations: 67.92 kB / 0.8973 GB, free: 51.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004723/1.674, allocations: 307.5 kB / 0.8976 GB, free: 50.87 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000863/1.675, allocations: 250.5 kB / 0.8978 GB, free: 50.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002932/1.675, allocations: 93.78 kB / 0.8979 GB, free: 50.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004782/1.68, allocations: 4.114 MB / 0.9019 GB, free: 46.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/1.68, allocations: 0 / 0.9019 GB, free: 46.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007392/1.688, allocations: 2.108 MB / 0.904 GB, free: 44.34 MB / 0.545 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 (214): * Single equations (assignments): 208 * 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.000584/1.688, allocations: 216.8 kB / 0.9042 GB, free: 44.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01522/1.703, allocations: 11.1 MB / 0.915 GB, free: 32.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.703, allocations: 0 / 0.915 GB, free: 32.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006942/1.71, allocations: 4.662 MB / 0.9196 GB, free: 28.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005022/1.715, allocations: 0.8967 MB / 0.9204 GB, free: 27.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02833/1.744, allocations: 19.89 MB / 0.9399 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005118/1.749, allocations: 5.053 MB / 0.9448 GB, free: 2.289 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005489/1.754, allocations: 2.55 MB / 0.9473 GB, free: 15.73 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.756, allocations: 359.4 kB / 0.9476 GB, free: 15.38 MB / 0.5607 GB Notification: Performance of SimCode: time 9.62e-07/1.756, allocations: 0 / 0.9476 GB, free: 15.38 MB / 0.5607 GB Notification: Performance of Templates: time 0.3132/2.069, allocations: 99.39 MB / 1.045 GB, free: 117.2 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.095667155997944]