Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 148.6 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 173.4 MB / 201.1 MB, free: 12.66 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 46.55 kB / 319.4 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08911/0.09065, allocations: 52.16 MB / 371.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02059/0.1112, allocations: 16.8 MB / 388.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.1247, allocations: 5.779 MB / 394.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003312/0.128, allocations: 190.9 kB / 394.4 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01111/0.1391, allocations: 5.697 MB / 400 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008266/0.1473, allocations: 3.455 MB / 403.5 MB, free: 7.266 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.1508, allocations: 1.584 MB / 405.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01701/0.1678, allocations: 12.4 MB / 417.5 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007979/0.1758, allocations: 5.919 MB / 423.4 MB, free: 3.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006279/0.182, allocations: 3.638 MB / 427 MB, free: 15.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008228/0.1903, allocations: 4.848 MB / 431.9 MB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002237/0.1925, allocations: 0.7109 MB / 432.6 MB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004193/0.1967, allocations: 1.58 MB / 434.2 MB, free: 8.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005647/0.2023, allocations: 4.328 MB / 438.5 MB, free: 4.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007029/0.2094, allocations: 3.427 MB / 441.9 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02292/0.2323, allocations: 13.79 MB / 455.7 MB, free: 2.816 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2323, allocations: 4 kB / 455.7 MB, free: 2.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2323, allocations: 0 / 455.7 MB, free: 2.812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003973/0.2327, allocations: 0 / 455.7 MB, free: 2.812 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.02575/0.2585, allocations: 9.839 MB / 465.6 MB, free: 8.887 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2585, allocations: 12.92 kB / 465.6 MB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04667/0.3052, allocations: 5.523 MB / 471.1 MB, free: 3.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3508/0.656, allocations: 7.99 MB / 479.1 MB, free: 83.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005171/0.6565, allocations: 428.5 kB / 479.5 MB, free: 83.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002581/0.6591, allocations: 0.5826 MB / 480.1 MB, free: 83.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/0.6848, allocations: 16.83 MB / 496.9 MB, free: 74.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002307/0.685, allocations: 108.8 kB / 497 MB, free: 74.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006125/0.6856, allocations: 269 kB / 497.3 MB, free: 73.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003433/0.6891, allocations: 2.762 MB / 0.4883 GB, free: 71.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02244/0.7115, allocations: 13.61 MB / 0.5016 GB, free: 57.56 MB / 430.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.06673/0.7782, allocations: 61.61 MB / 0.5618 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02148/0.7997, allocations: 7.473 MB / 0.5691 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006594/0.8063, allocations: 4.251 MB / 0.5732 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02239/0.8287, allocations: 10.77 MB / 0.5838 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.74e-05/0.8288, allocations: 68.5 kB / 0.5838 GB, free: 4.711 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 6.563e-06/0.8288, allocations: 0.9375 kB / 0.5838 GB, free: 4.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.2/1.029, allocations: 52.25 MB / 0.6349 GB, free: 0.918 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002461/1.029, allocations: 398.1 kB / 0.6352 GB, free: 452 kB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/1.04, allocations: 6.766 MB / 0.6418 GB, free: 9.676 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007807/1.04, allocations: 77.7 kB / 0.6419 GB, free: 9.594 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004197/1.045, allocations: 5.235 MB / 0.647 GB, free: 4.32 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001838/1.046, allocations: 1.31 MB / 0.6483 GB, free: 3 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002909/1.049, allocations: 1.88 MB / 0.6501 GB, free: 1.109 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.049, allocations: 301.1 kB / 0.6504 GB, free: 0.8125 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006969/1.056, allocations: 4.55 MB / 0.6549 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/1.068, allocations: 9.485 MB / 0.6641 GB, free: 432 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.203/1.271, allocations: 14.54 MB / 0.6783 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/1.271, allocations: 44.06 kB / 0.6784 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.03686/1.308, allocations: 19.67 MB / 0.6976 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/1.308, allocations: 74.44 kB / 0.6977 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/1.308, allocations: 160.8 kB / 0.6978 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01953/1.327, allocations: 7.044 MB / 0.7047 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005826/1.333, allocations: 1.931 MB / 0.7066 GB, free: 152.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03937/1.373, allocations: 34.57 MB / 0.7403 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006967/1.38, allocations: 0.5939 MB / 0.7409 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007966/1.38, allocations: 500 kB / 0.7414 GB, free: 116.9 MB / 0.5294 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.004096/1.384, allocations: 3.469 MB / 0.7448 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009595/1.385, allocations: 0.6236 MB / 0.7454 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02492/1.41, allocations: 13.18 MB / 0.7583 GB, free: 99.97 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.184e-05/1.41, allocations: 42.84 kB / 0.7583 GB, free: 99.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/1.41, allocations: 20 kB / 0.7583 GB, free: 99.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.457e-05/1.41, allocations: 15.94 kB / 0.7583 GB, free: 99.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04153/1.452, allocations: 24.15 MB / 0.7819 GB, free: 75.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/1.452, allocations: 8 kB / 0.7819 GB, free: 75.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001868/1.454, allocations: 419.3 kB / 0.7823 GB, free: 75.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01835/1.472, allocations: 6.643 MB / 0.7888 GB, free: 68.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004749/1.473, allocations: 60 kB / 0.7889 GB, free: 68.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03772/1.51, allocations: 33.28 MB / 0.8214 GB, free: 34.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/1.51, allocations: 8 kB / 0.8214 GB, free: 34.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03124/1.542, allocations: 18.69 MB / 0.8396 GB, free: 16.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/1.544, allocations: 0.5845 MB / 0.8402 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.545, allocations: 67.81 kB / 0.8403 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003327/1.548, allocations: 303.5 kB / 0.8406 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008165/1.549, allocations: 254.5 kB / 0.8408 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002882/1.549, allocations: 87.94 kB / 0.8409 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005154/1.555, allocations: 4.122 MB / 0.8449 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/1.555, allocations: 0 / 0.8449 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009883/1.564, allocations: 2.127 MB / 0.847 GB, free: 8.723 MB / 0.5294 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.0009986/1.565, allocations: 212.5 kB / 0.8472 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01784/1.583, allocations: 11.1 MB / 0.858 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/1.583, allocations: 5.312 kB / 0.858 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009878/1.593, allocations: 4.662 MB / 0.8626 GB, free: 8.676 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005925/1.599, allocations: 0.8883 MB / 0.8635 GB, free: 7.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2272/1.826, allocations: 19.9 MB / 0.8829 GB, free: 179.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00628/1.833, allocations: 5.057 MB / 0.8878 GB, free: 178.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005136/1.838, allocations: 2.542 MB / 0.8903 GB, free: 178.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009155/1.839, allocations: 361.2 kB / 0.8907 GB, free: 178.9 MB / 0.545 GB Notification: Performance of SimCode: time 9.11e-07/1.839, allocations: 5.219 kB / 0.8907 GB, free: 178.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1232/1.962, allocations: 90.52 MB / 0.9791 GB, free: 96.47 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.847829610924236]