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.001444/0.001444, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001595/0.001595, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 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.472/1.472, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 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 1.814e-06/1.814e-06, allocations: 0 / 272.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.33e-05, allocations: 2.312 kB / 272.3 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02414/0.02417, allocations: 16.75 MB / 289.1 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1466/0.1707, allocations: 5.779 MB / 294.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005846/0.1766, allocations: 191.1 kB / 295.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01924/0.1958, allocations: 6.076 MB / 301.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01376/0.2096, allocations: 3.525 MB / 304.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005646/0.2152, allocations: 1.812 MB / 306.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02366/0.2389, allocations: 14.81 MB / 321.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01977/0.2586, allocations: 7.704 MB / 329 MB, free: 8.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01639/0.275, allocations: 5.53 MB / 334.5 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01038/0.2854, allocations: 5.659 MB / 340.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00236/0.2878, allocations: 0.7617 MB / 340.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004875/0.2926, allocations: 1.678 MB / 342.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006716/0.2994, allocations: 4.578 MB / 347.2 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006934/0.3063, allocations: 2.805 MB / 350 MB, free: 3.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02138/0.3277, allocations: 14.15 MB / 364.1 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3277, allocations: 0 / 364.1 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3277, allocations: 0 / 364.1 MB, free: 4.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003982/0.3281, allocations: 0 / 364.1 MB, free: 4.98 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.0282/0.3563, allocations: 10.2 MB / 374.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3563, allocations: 8.031 kB / 374.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04661/0.4029, allocations: 6.249 MB / 380.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01994/0.4229, allocations: 7.771 MB / 388.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/0.4233, allocations: 423.4 kB / 388.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001781/0.4251, allocations: 0.5859 MB / 389.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03462/0.4597, allocations: 17.13 MB / 406.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003154/0.46, allocations: 99.31 kB / 406.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001194/0.4612, allocations: 267.8 kB / 406.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005073/0.4663, allocations: 2.783 MB / 409.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0315/0.4978, allocations: 13.91 MB / 423.6 MB, free: 8.258 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.2786/0.7764, allocations: 63.66 MB / 487.2 MB, free: 71.02 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01803/0.7944, allocations: 7.222 MB / 494.4 MB, free: 66.01 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004506/0.7989, allocations: 4.418 MB / 498.9 MB, free: 61.59 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/0.8148, allocations: 11.63 MB / 0.4985 GB, free: 50.11 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.8149, allocations: 72.5 kB / 0.4986 GB, free: 50.04 MB / 378.8 MB Notification: Performance of pre-optimization done (n=286): time 5.671e-06/0.8149, allocations: 3.938 kB / 0.4986 GB, free: 50.03 MB / 378.8 MB Notification: Performance of matching and sorting (n=346): time 0.3901/1.205, allocations: 82.6 MB / 0.5793 GB, free: 139.9 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.205, allocations: 395.5 kB / 0.5796 GB, free: 139.4 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/1.217, allocations: 7.2 MB / 0.5867 GB, free: 138.1 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009436/1.217, allocations: 79.16 kB / 0.5867 GB, free: 138.1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002804/1.22, allocations: 5.15 MB / 0.5918 GB, free: 135.4 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001576/1.222, allocations: 1.316 MB / 0.5931 GB, free: 134.4 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002955/1.225, allocations: 1.85 MB / 0.5949 GB, free: 133.5 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.7e-05/1.225, allocations: 303.3 kB / 0.5952 GB, free: 133.2 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006479/1.231, allocations: 5.462 MB / 0.6005 GB, free: 131.2 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008165/1.239, allocations: 10.3 MB / 0.6106 GB, free: 122.9 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01557/1.255, allocations: 16.26 MB / 0.6264 GB, free: 110.8 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.841e-05/1.255, allocations: 48 kB / 0.6265 GB, free: 110.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.04639/1.302, allocations: 24.91 MB / 0.6508 GB, free: 86.98 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.678e-05/1.302, allocations: 73.41 kB / 0.6509 GB, free: 86.91 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/1.302, allocations: 156 kB / 0.651 GB, free: 86.76 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03216/1.334, allocations: 11.76 MB / 0.6625 GB, free: 74.98 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008647/1.343, allocations: 1.957 MB / 0.6644 GB, free: 73.02 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05657/1.399, allocations: 45.21 MB / 0.7086 GB, free: 27.53 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008874/1.408, allocations: 0.8464 MB / 0.7094 GB, free: 26.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/1.409, allocations: 488 kB / 0.7099 GB, free: 26.2 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.005539/1.415, allocations: 3.45 MB / 0.7132 GB, free: 22.74 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002248/1.417, allocations: 0.7153 MB / 0.7139 GB, free: 22.02 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1675/1.585, allocations: 18.31 MB / 0.7318 GB, free: 126.8 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.45e-05/1.585, allocations: 36.72 kB / 0.7318 GB, free: 126.8 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.304e-05/1.585, allocations: 20.91 kB / 0.7319 GB, free: 126.8 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.748e-05/1.585, allocations: 16.8 kB / 0.7319 GB, free: 126.8 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05839/1.643, allocations: 31.63 MB / 0.7628 GB, free: 111.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.094e-05/1.643, allocations: 4 kB / 0.7628 GB, free: 111.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.645, allocations: 479.2 kB / 0.7632 GB, free: 111.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03046/1.676, allocations: 11.35 MB / 0.7743 GB, free: 100.1 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007789/1.677, allocations: 63.98 kB / 0.7744 GB, free: 99.99 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05069/1.727, allocations: 43.79 MB / 0.8171 GB, free: 56.23 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.727, allocations: 8 kB / 0.8172 GB, free: 56.22 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04421/1.772, allocations: 25.3 MB / 0.8419 GB, free: 31.08 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002539/1.774, allocations: 0.6881 MB / 0.8425 GB, free: 30.72 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002466/1.777, allocations: 62.94 kB / 0.8426 GB, free: 30.66 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00572/1.782, allocations: 0.5459 MB / 0.8431 GB, free: 30.12 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001609/1.784, allocations: 265.6 kB / 0.8434 GB, free: 29.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006876/1.785, allocations: 88 kB / 0.8435 GB, free: 29.77 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006763/1.791, allocations: 4.47 MB / 0.8478 GB, free: 25.31 MB / 410.8 MB Notification: Performance of sort global known variables: time 1e-07/1.791, allocations: 0 / 0.8478 GB, free: 25.31 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01093/1.802, allocations: 2.635 MB / 0.8504 GB, free: 22.68 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.001205/1.803, allocations: 234.2 kB / 0.8506 GB, free: 22.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01901/1.823, allocations: 13 MB / 0.8633 GB, free: 9.418 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.823, allocations: 4 kB / 0.8633 GB, free: 9.414 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1256/1.948, allocations: 5.704 MB / 0.8689 GB, free: 122.4 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006389/1.955, allocations: 0.956 MB / 0.8698 GB, free: 122.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02948/1.984, allocations: 20.05 MB / 0.8894 GB, free: 116.8 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005925/1.99, allocations: 5.071 MB / 0.8944 GB, free: 116.1 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00528/1.995, allocations: 2.545 MB / 0.8968 GB, free: 116 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.996, allocations: 380.4 kB / 0.8972 GB, free: 116 MB / 410.8 MB Notification: Performance of SimCode: time 1.382e-06/1.996, allocations: 0 / 0.8972 GB, free: 116 MB / 410.8 MB Notification: Performance of Templates: time 0.1384/2.135, allocations: 113.6 MB / 1.008 GB, free: 9.25 MB / 410.8 MB " [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 -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/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_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.455568189034238]