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.001692/0.001692, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 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.002004/0.002004, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 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 0.001885/0.001885, allocations: 63.89 kB / 373.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1108, allocations: 53.33 MB / 427.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.207/0.3179, allocations: 19.46 MB / 446.6 MB, free: 76 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.3315, allocations: 5.995 MB / 452.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004066/0.3356, allocations: 157.9 kB / 452.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01223/0.3478, allocations: 5.904 MB / 458.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.358, allocations: 3.401 MB / 462.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.3618, allocations: 1.565 MB / 463.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01773/0.3795, allocations: 12.68 MB / 476.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008193/0.3877, allocations: 6.417 MB / 482.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005923/0.3936, allocations: 3.579 MB / 486.3 MB, free: 5.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007404/0.401, allocations: 5.118 MB / 491.4 MB, free: 340 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001775/0.4028, allocations: 0.7188 MB / 492.2 MB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003667/0.4065, allocations: 1.705 MB / 493.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004812/0.4113, allocations: 4.309 MB / 498.2 MB, free: 9.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00773/0.419, allocations: 4.444 MB / 0.4908 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.4374, allocations: 13.66 MB / 0.5042 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4374, allocations: 3.938 kB / 0.5042 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.4374, allocations: 4 kB / 0.5042 GB, free: 7.402 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003475/0.4378, allocations: 0 / 0.5042 GB, free: 7.402 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.02387/0.4617, allocations: 9.895 MB / 0.5138 GB, free: 13.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4617, allocations: 8.031 kB / 0.5139 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0443/0.506, allocations: 5.293 MB / 0.519 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/0.5244, allocations: 7.937 MB / 0.5268 GB, free: 96 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003744/0.5248, allocations: 423.6 kB / 0.5272 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.5263, allocations: 0.5893 MB / 0.5278 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03053/0.5569, allocations: 16.55 MB / 0.5439 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002689/0.5571, allocations: 103.3 kB / 0.544 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007354/0.5579, allocations: 271.5 kB / 0.5443 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004444/0.5623, allocations: 2.76 MB / 0.547 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02775/0.5901, allocations: 13.62 MB / 0.5603 GB, free: 12.72 MB / 478.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.498/1.088, allocations: 67.83 MB / 0.6265 GB, free: 119.3 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02071/1.109, allocations: 7.658 MB / 0.634 GB, free: 118.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00548/1.114, allocations: 4.238 MB / 0.6381 GB, free: 118.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01857/1.133, allocations: 12.42 MB / 0.6503 GB, free: 112.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/1.133, allocations: 68.73 kB / 0.6503 GB, free: 112.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 5.37e-06/1.133, allocations: 0 / 0.6503 GB, free: 112.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=339): time 0.1653/1.298, allocations: 50.46 MB / 0.6996 GB, free: 79.53 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/1.298, allocations: 405.5 kB / 0.7 GB, free: 79.05 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007369/1.306, allocations: 7.122 MB / 0.707 GB, free: 72.05 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006486/1.306, allocations: 79.97 kB / 0.707 GB, free: 71.97 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002075/1.308, allocations: 5.199 MB / 0.7121 GB, free: 67.29 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.309, allocations: 1.316 MB / 0.7134 GB, free: 65.98 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002122/1.311, allocations: 1.876 MB / 0.7152 GB, free: 64.1 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/1.312, allocations: 305.1 kB / 0.7155 GB, free: 63.8 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004853/1.316, allocations: 4.539 MB / 0.7199 GB, free: 59.25 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006234/1.323, allocations: 9.272 MB / 0.729 GB, free: 47.76 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/1.336, allocations: 14.53 MB / 0.7432 GB, free: 31.25 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.804e-05/1.336, allocations: 51.94 kB / 0.7432 GB, free: 31.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.03427/1.37, allocations: 19.71 MB / 0.7625 GB, free: 11.44 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.197e-05/1.37, allocations: 78.19 kB / 0.7626 GB, free: 11.37 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/1.37, allocations: 160 kB / 0.7627 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01896/1.389, allocations: 7.063 MB / 0.7696 GB, free: 4.133 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005555/1.395, allocations: 1.926 MB / 0.7715 GB, free: 2.203 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05384/1.448, allocations: 35.32 MB / 0.806 GB, free: 14.46 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007904/1.456, allocations: 0.5852 MB / 0.8066 GB, free: 13.87 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.458, allocations: 0.4974 MB / 0.807 GB, free: 13.38 MB / 0.5607 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.006008/1.464, allocations: 3.461 MB / 0.8104 GB, free: 9.91 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/1.465, allocations: 0.6675 MB / 0.8111 GB, free: 9.238 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03053/1.496, allocations: 13.24 MB / 0.824 GB, free: 11.93 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.869e-05/1.496, allocations: 36 kB / 0.824 GB, free: 11.89 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-05/1.496, allocations: 19.94 kB / 0.8241 GB, free: 11.87 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-05/1.496, allocations: 19.94 kB / 0.8241 GB, free: 11.85 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2828/1.779, allocations: 26.5 MB / 0.8499 GB, free: 199 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-05/1.779, allocations: 6.25 kB / 0.85 GB, free: 199 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/1.781, allocations: 420.7 kB / 0.8504 GB, free: 199 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01981/1.801, allocations: 6.646 MB / 0.8568 GB, free: 197.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000622/1.801, allocations: 66.36 kB / 0.8569 GB, free: 197.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0409/1.842, allocations: 34.01 MB / 0.8901 GB, free: 182.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.842, allocations: 7.875 kB / 0.8901 GB, free: 182.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03085/1.873, allocations: 18.74 MB / 0.9084 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/1.875, allocations: 0.7228 MB / 0.9091 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/1.876, allocations: 60 kB / 0.9092 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003244/1.879, allocations: 304.3 kB / 0.9095 GB, free: 165.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008592/1.88, allocations: 242.3 kB / 0.9097 GB, free: 165.6 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002843/1.88, allocations: 90.58 kB / 0.9098 GB, free: 165.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005532/1.886, allocations: 4.551 MB / 0.9142 GB, free: 161 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/1.886, allocations: 7.906 kB / 0.9143 GB, free: 161 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007797/1.893, allocations: 2.124 MB / 0.9163 GB, free: 158.9 MB / 0.5763 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.000652/1.894, allocations: 203.2 kB / 0.9165 GB, free: 158.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01672/1.911, allocations: 11.1 MB / 0.9274 GB, free: 147.7 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.911, allocations: 0.75 kB / 0.9274 GB, free: 147.7 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007614/1.918, allocations: 4.667 MB / 0.9319 GB, free: 143 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005541/1.924, allocations: 0.9862 MB / 0.9329 GB, free: 142.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02774/1.952, allocations: 19.81 MB / 0.9522 GB, free: 122.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005084/1.957, allocations: 5.529 MB / 0.9576 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005198/1.962, allocations: 2.601 MB / 0.9602 GB, free: 114.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.963, allocations: 391.3 kB / 0.9605 GB, free: 113.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.042e-06/1.963, allocations: 0 / 0.9605 GB, free: 113.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.3408/2.304, allocations: 94.98 MB / 1.053 GB, free: 192.9 MB / 0.5763 GB " [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.064072201959789]