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.0019/0.0019, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002673/0.002673, allocations: 208.2 kB / 23.73 MB, free: 4.387 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001625/0.001625, allocations: 51.91 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2325, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02044/0.253, allocations: 16.74 MB / 448.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.2652, allocations: 5.794 MB / 454.1 MB, free: 104 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.2685, allocations: 191 kB / 454.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01222/0.2807, allocations: 5.673 MB / 460 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009095/0.2898, allocations: 3.428 MB / 463.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.2935, allocations: 1.564 MB / 465 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01902/0.3125, allocations: 12.71 MB / 477.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009341/0.3219, allocations: 5.939 MB / 483.6 MB, free: 2.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007099/0.329, allocations: 3.642 MB / 487.3 MB, free: 14.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00868/0.3376, allocations: 5.122 MB / 492.4 MB, free: 9.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002781/0.3404, allocations: 0.7109 MB / 493.1 MB, free: 8.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004839/0.3453, allocations: 1.58 MB / 494.7 MB, free: 7.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006386/0.3517, allocations: 4.313 MB / 499 MB, free: 3.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007205/0.3589, allocations: 3.403 MB / 0.4906 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01827/0.3771, allocations: 13.72 MB / 0.504 GB, free: 1.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.3771, allocations: 4 kB / 0.504 GB, free: 1.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3771, allocations: 0 / 0.504 GB, free: 1.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003752/0.3775, allocations: 3.938 kB / 0.504 GB, free: 1.844 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.0264/0.4039, allocations: 9.823 MB / 0.5136 GB, free: 7.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.404, allocations: 8.031 kB / 0.5136 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04507/0.449, allocations: 5.285 MB / 0.5188 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02177/0.4708, allocations: 7.846 MB / 0.5265 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004244/0.4712, allocations: 427.4 kB / 0.5269 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002225/0.4735, allocations: 0.5893 MB / 0.5274 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4164/0.8898, allocations: 16.8 MB / 0.5438 GB, free: 89.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004873/0.8903, allocations: 102 kB / 0.5439 GB, free: 89.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002246/0.8926, allocations: 267 kB / 0.5442 GB, free: 89.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004388/0.8969, allocations: 2.766 MB / 0.5469 GB, free: 89.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/0.9217, allocations: 13.59 MB / 0.5602 GB, free: 81.17 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.07612/0.9979, allocations: 61.44 MB / 0.6202 GB, free: 19.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01828/1.016, allocations: 7.216 MB / 0.6272 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004689/1.021, allocations: 4.245 MB / 0.6314 GB, free: 7.852 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02249/1.043, allocations: 10.71 MB / 0.6418 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.266e-05/1.043, allocations: 64.5 kB / 0.6419 GB, free: 13.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 6.462e-06/1.043, allocations: 0 / 0.6419 GB, free: 13.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.2111/1.255, allocations: 50.46 MB / 0.6912 GB, free: 11.26 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002531/1.255, allocations: 394.1 kB / 0.6915 GB, free: 10.79 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.265, allocations: 6.772 MB / 0.6981 GB, free: 4.219 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009198/1.266, allocations: 81.69 kB / 0.6982 GB, free: 4.133 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004706/1.271, allocations: 5.226 MB / 0.7033 GB, free: 15 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002082/1.273, allocations: 1.31 MB / 0.7046 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003386/1.276, allocations: 1.877 MB / 0.7064 GB, free: 11.79 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.277, allocations: 301.1 kB / 0.7067 GB, free: 11.49 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007261/1.284, allocations: 4.55 MB / 0.7112 GB, free: 6.93 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/1.297, allocations: 9.489 MB / 0.7204 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02314/1.32, allocations: 14.54 MB / 0.7346 GB, free: 10.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002124/1.321, allocations: 47.94 kB / 0.7347 GB, free: 10.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.2637/1.584, allocations: 19.67 MB / 0.7539 GB, free: 179.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.441e-05/1.584, allocations: 70.5 kB / 0.754 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001511/1.585, allocations: 163.9 kB / 0.7541 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01902/1.604, allocations: 7.047 MB / 0.761 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006044/1.61, allocations: 1.926 MB / 0.7629 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03865/1.648, allocations: 34.57 MB / 0.7966 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00728/1.656, allocations: 0.5888 MB / 0.7972 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.657, allocations: 500 kB / 0.7977 GB, free: 152 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.004838/1.662, allocations: 3.473 MB / 0.8011 GB, free: 148.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/1.663, allocations: 0.6109 MB / 0.8017 GB, free: 148.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02396/1.687, allocations: 13.19 MB / 0.8146 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.911e-05/1.687, allocations: 36 kB / 0.8146 GB, free: 135.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.962e-05/1.687, allocations: 24 kB / 0.8146 GB, free: 135.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.829e-05/1.687, allocations: 19.88 kB / 0.8146 GB, free: 135.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04455/1.732, allocations: 24.11 MB / 0.8382 GB, free: 110.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-05/1.732, allocations: 8 kB / 0.8382 GB, free: 110.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/1.733, allocations: 415.5 kB / 0.8386 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01784/1.751, allocations: 6.651 MB / 0.8451 GB, free: 103.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000841/1.752, allocations: 60 kB / 0.8451 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03791/1.79, allocations: 33.28 MB / 0.8776 GB, free: 70.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.79, allocations: 4 kB / 0.8776 GB, free: 70.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03032/1.82, allocations: 18.68 MB / 0.8959 GB, free: 51.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/1.822, allocations: 0.5849 MB / 0.8965 GB, free: 51.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/1.824, allocations: 63.94 kB / 0.8965 GB, free: 51.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003485/1.827, allocations: 311.4 kB / 0.8968 GB, free: 50.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008375/1.828, allocations: 254.5 kB / 0.8971 GB, free: 50.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002861/1.828, allocations: 87.98 kB / 0.8971 GB, free: 50.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005109/1.833, allocations: 4.11 MB / 0.9012 GB, free: 46.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.833, allocations: 1.969 kB / 0.9012 GB, free: 46.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009036/1.842, allocations: 2.108 MB / 0.9032 GB, free: 44.43 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.0007129/1.843, allocations: 212.6 kB / 0.9034 GB, free: 44.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01572/1.859, allocations: 11.1 MB / 0.9143 GB, free: 33.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.859, allocations: 192 / 0.9143 GB, free: 33.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007333/1.866, allocations: 4.663 MB / 0.9188 GB, free: 28.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00638/1.873, allocations: 0.8998 MB / 0.9197 GB, free: 27.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03318/1.906, allocations: 19.89 MB / 0.9391 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007011/1.913, allocations: 5.061 MB / 0.9441 GB, free: 2.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005968/1.919, allocations: 2.542 MB / 0.9465 GB, free: 15.83 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/1.92, allocations: 363.4 kB / 0.9469 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of SimCode: time 1.353e-06/1.92, allocations: 0 / 0.9469 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of Templates: time 0.3771/2.297, allocations: 99.39 MB / 1.044 GB, free: 117.4 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 -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.340108678676188]