Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00184/0.00184, allocations: 85.75 kB / 21.44 MB, free: 296 kB / 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.002245/0.002245, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.618e-05, allocations: 2.281 kB / 299 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02002/0.02005, allocations: 16.85 MB / 315.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.03261, allocations: 5.803 MB / 321.6 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.0356, allocations: 194.9 kB / 321.8 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1725/0.2081, allocations: 5.995 MB / 327.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00927/0.2174, allocations: 3.58 MB / 331.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003911/0.2213, allocations: 1.802 MB / 333.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01855/0.2398, allocations: 13.26 MB / 346.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/0.2515, allocations: 7.513 MB / 354 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01356/0.2651, allocations: 5.582 MB / 359.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01066/0.2757, allocations: 5.655 MB / 365.2 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003549/0.2793, allocations: 0.7461 MB / 365.9 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005428/0.2847, allocations: 1.665 MB / 367.6 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007236/0.2919, allocations: 4.602 MB / 372.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007979/0.2999, allocations: 2.82 MB / 375 MB, free: 404 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02535/0.3253, allocations: 14.1 MB / 389.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3253, allocations: 0 / 389.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.3253, allocations: 7.938 kB / 389.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005464/0.3258, allocations: 0 / 389.1 MB, free: 2.785 MB / 334.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.03146/0.3573, allocations: 10.13 MB / 399.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3573, allocations: 11.98 kB / 399.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05093/0.4083, allocations: 5.528 MB / 404.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02299/0.4312, allocations: 8.076 MB / 412.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006488/0.4319, allocations: 422.7 kB / 413.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00267/0.4346, allocations: 0.588 MB / 413.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03896/0.4735, allocations: 16.83 MB / 430.7 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005853/0.4741, allocations: 98.36 kB / 430.8 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002766/0.4769, allocations: 266.2 kB / 431.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005504/0.4824, allocations: 2.771 MB / 433.8 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03211/0.5145, allocations: 13.62 MB / 447.5 MB, free: 8.391 MB / 398.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.4536/0.9681, allocations: 62.78 MB / 0.4983 GB, free: 97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03188/1, allocations: 7.455 MB / 0.5056 GB, free: 96.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007755/1.008, allocations: 4.251 MB / 0.5097 GB, free: 94.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02583/1.034, allocations: 11.22 MB / 0.5207 GB, free: 89.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.234e-05/1.034, allocations: 70.64 kB / 0.5207 GB, free: 89.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=280): time 7.244e-06/1.034, allocations: 0 / 0.5207 GB, free: 89.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=340): time 0.176/1.21, allocations: 51.65 MB / 0.5712 GB, free: 45.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/1.21, allocations: 398.1 kB / 0.5715 GB, free: 45.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/1.22, allocations: 7.567 MB / 0.5789 GB, free: 38.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009074/1.221, allocations: 81.22 kB / 0.579 GB, free: 37.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002686/1.224, allocations: 5.203 MB / 0.5841 GB, free: 33.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001538/1.225, allocations: 1.304 MB / 0.5854 GB, free: 31.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002278/1.228, allocations: 1.85 MB / 0.5872 GB, free: 30.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/1.228, allocations: 301.1 kB / 0.5875 GB, free: 29.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005244/1.233, allocations: 4.551 MB / 0.5919 GB, free: 25.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00743/1.24, allocations: 9.496 MB / 0.6012 GB, free: 13.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01745/1.258, allocations: 14.54 MB / 0.6154 GB, free: 12.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002354/1.258, allocations: 48 kB / 0.6154 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.05089/1.309, allocations: 19.68 MB / 0.6346 GB, free: 8.996 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003392/1.309, allocations: 72 kB / 0.6347 GB, free: 8.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003996/1.31, allocations: 164 kB / 0.6349 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0252/1.335, allocations: 7.028 MB / 0.6417 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007374/1.342, allocations: 1.934 MB / 0.6436 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2388/1.581, allocations: 34.59 MB / 0.6774 GB, free: 154.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009823/1.591, allocations: 0.7304 MB / 0.6781 GB, free: 154.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001862/1.593, allocations: 496.4 kB / 0.6786 GB, free: 154.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1043 * 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.006789/1.6, allocations: 3.481 MB / 0.682 GB, free: 153.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/1.601, allocations: 0.6205 MB / 0.6826 GB, free: 153.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02686/1.628, allocations: 13.2 MB / 0.6955 GB, free: 149.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.792e-05/1.628, allocations: 35.88 kB / 0.6955 GB, free: 149.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.163e-05/1.628, allocations: 19.56 kB / 0.6955 GB, free: 149.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.897e-05/1.628, allocations: 14.86 kB / 0.6955 GB, free: 149.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04441/1.673, allocations: 24.46 MB / 0.7194 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-05/1.673, allocations: 4 kB / 0.7194 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/1.675, allocations: 422.9 kB / 0.7198 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02024/1.695, allocations: 6.637 MB / 0.7263 GB, free: 124.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008395/1.696, allocations: 67.81 kB / 0.7264 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03782/1.734, allocations: 33.33 MB / 0.7589 GB, free: 91.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.734, allocations: 11.94 kB / 0.7589 GB, free: 91.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03186/1.766, allocations: 18.66 MB / 0.7772 GB, free: 72.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005098/1.771, allocations: 1.418 MB / 0.7786 GB, free: 71.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002808/1.774, allocations: 60 kB / 0.7786 GB, free: 71.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005952/1.78, allocations: 443.2 kB / 0.779 GB, free: 71.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001261/1.781, allocations: 258.4 kB / 0.7793 GB, free: 70.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004832/1.781, allocations: 88 kB / 0.7794 GB, free: 70.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007737/1.789, allocations: 4.72 MB / 0.784 GB, free: 66.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.789, allocations: 0 / 0.784 GB, free: 66.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01083/1.8, allocations: 2.444 MB / 0.7864 GB, free: 63.66 MB / 478.1 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 (215): * Single equations (assignments): 209 * 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.001135/1.801, allocations: 240.3 kB / 0.7866 GB, free: 63.44 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01769/1.819, allocations: 11.09 MB / 0.7974 GB, free: 52.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.819, allocations: 4 kB / 0.7974 GB, free: 52.35 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008517/1.827, allocations: 4.672 MB / 0.802 GB, free: 47.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009416/1.837, allocations: 0.9065 MB / 0.8029 GB, free: 46.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03841/1.875, allocations: 20.08 MB / 0.8225 GB, free: 26.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.213/2.088, allocations: 5.089 MB / 0.8274 GB, free: 155.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008328/2.096, allocations: 2.572 MB / 0.83 GB, free: 155.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/2.098, allocations: 397.8 kB / 0.8303 GB, free: 155.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.453e-06/2.098, allocations: 0 / 0.8303 GB, free: 155.3 MB / 478.1 MB Notification: Performance of Templates: time 0.149/2.247, allocations: 96.11 MB / 0.9242 GB, free: 86.38 MB / 478.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.319157391786575]