Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001938/0.001938, allocations: 80.75 kB / 20.68 MB, free: 1.035 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.001403/0.001403, allocations: 154.8 kB / 23.94 MB, free: 4.176 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.401/1.401, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 MB " [Timeout remaining time 179] 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.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 319 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.182e-05, allocations: 2.281 kB / 319 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01964/0.01966, allocations: 17.72 MB / 336.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.03515, allocations: 6.014 MB / 342.7 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004317/0.03946, allocations: 200.8 kB / 342.9 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01327/0.05273, allocations: 6.507 MB / 349.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.06319, allocations: 3.661 MB / 353.1 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004423/0.06762, allocations: 1.895 MB / 355 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0204/0.08802, allocations: 14.56 MB / 369.5 MB, free: 9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01297/0.101, allocations: 7.83 MB / 377.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01385/0.1148, allocations: 5.804 MB / 383.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01082/0.1257, allocations: 5.823 MB / 389 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002673/0.1283, allocations: 0.7812 MB / 389.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00473/0.1331, allocations: 1.701 MB / 391.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006036/0.1391, allocations: 4.781 MB / 396.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005588/0.1447, allocations: 2.929 MB / 399.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01907/0.1638, allocations: 14.59 MB / 413.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.1638, allocations: 4 kB / 413.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1638, allocations: 0 / 413.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004262/0.1642, allocations: 0 / 413.8 MB, free: 12.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.03208/0.1963, allocations: 10.47 MB / 424.2 MB, free: 2.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1963, allocations: 8.922 kB / 424.2 MB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05113/0.2474, allocations: 5.57 MB / 429.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02134/0.2688, allocations: 7.964 MB / 437.8 MB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004751/0.2693, allocations: 448 kB / 438.2 MB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002331/0.2716, allocations: 0.6093 MB / 438.8 MB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03451/0.3061, allocations: 17.46 MB / 456.3 MB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003134/0.3064, allocations: 103.2 kB / 456.4 MB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009324/0.3073, allocations: 279.8 kB / 456.7 MB, free: 368 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004982/0.3123, allocations: 2.854 MB / 459.5 MB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3102/0.6226, allocations: 14.03 MB / 473.5 MB, free: 116.9 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.07573/0.6983, allocations: 64.55 MB / 0.5255 GB, free: 73.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/0.7174, allocations: 7.822 MB / 0.5331 GB, free: 66.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004421/0.7218, allocations: 4.361 MB / 0.5374 GB, free: 61.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01581/0.7376, allocations: 11.5 MB / 0.5486 GB, free: 50.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.7376, allocations: 68.56 kB / 0.5487 GB, free: 50.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=294): time 6.442e-06/0.7376, allocations: 0 / 0.5487 GB, free: 50.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=360): time 0.1929/0.9306, allocations: 55.01 MB / 0.6024 GB, free: 12.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002649/0.9308, allocations: 398.2 kB / 0.6028 GB, free: 11.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/0.9429, allocations: 7.472 MB / 0.6101 GB, free: 4.371 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009929/0.9439, allocations: 81.7 kB / 0.6102 GB, free: 4.285 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004308/0.9482, allocations: 5.388 MB / 0.6154 GB, free: 15.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001982/0.9501, allocations: 1.368 MB / 0.6168 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003092/0.9532, allocations: 1.901 MB / 0.6186 GB, free: 11.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.9534, allocations: 309.1 kB / 0.6189 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007451/0.9608, allocations: 4.711 MB / 0.6235 GB, free: 6.762 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01218/0.973, allocations: 9.764 MB / 0.633 GB, free: 10.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1876/1.161, allocations: 15 MB / 0.6477 GB, free: 148.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/1.161, allocations: 47.88 kB / 0.6477 GB, free: 148.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.04231/1.203, allocations: 20.37 MB / 0.6676 GB, free: 143 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.203, allocations: 75.12 kB / 0.6677 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/1.203, allocations: 165.2 kB / 0.6679 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02168/1.225, allocations: 7.307 MB / 0.675 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006323/1.231, allocations: 1.999 MB / 0.6769 GB, free: 141.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0411/1.272, allocations: 35.85 MB / 0.712 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008256/1.281, allocations: 0.7139 MB / 0.7126 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/1.282, allocations: 0.5 MB / 0.7131 GB, free: 106.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],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 (1082): * Single equations (assignments): 1076 * 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,97,55.1%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.004467/1.286, allocations: 3.596 MB / 0.7166 GB, free: 103.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/1.287, allocations: 0.6364 MB / 0.7173 GB, free: 103.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02683/1.314, allocations: 13.82 MB / 0.7308 GB, free: 89.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.921e-05/1.314, allocations: 43.05 kB / 0.7308 GB, free: 89.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.673e-05/1.314, allocations: 23.94 kB / 0.7308 GB, free: 89.19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.553e-05/1.314, allocations: 15.94 kB / 0.7308 GB, free: 89.17 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04256/1.357, allocations: 25.47 MB / 0.7557 GB, free: 63.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/1.357, allocations: 8 kB / 0.7557 GB, free: 63.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/1.359, allocations: 467.3 kB / 0.7562 GB, free: 63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01971/1.379, allocations: 6.956 MB / 0.763 GB, free: 56.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006273/1.379, allocations: 68 kB / 0.763 GB, free: 55.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03802/1.417, allocations: 34.67 MB / 0.7969 GB, free: 21.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.417, allocations: 11.94 kB / 0.7969 GB, free: 21.19 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2161/1.633, allocations: 19.59 MB / 0.816 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004622/1.638, allocations: 1.427 MB / 0.8174 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00184/1.64, allocations: 62.95 kB / 0.8175 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005054/1.645, allocations: 426.5 kB / 0.8179 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001072/1.646, allocations: 268.7 kB / 0.8181 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000349/1.646, allocations: 97.88 kB / 0.8182 GB, free: 142.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008529/1.655, allocations: 4.624 MB / 0.8227 GB, free: 142.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.655, allocations: 0 / 0.8227 GB, free: 142.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01128/1.666, allocations: 2.527 MB / 0.8252 GB, free: 142.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (232): * Single equations (assignments): 226 * 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,90,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.001077/1.667, allocations: 242.6 kB / 0.8254 GB, free: 142 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01937/1.687, allocations: 11.49 MB / 0.8367 GB, free: 138.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.687, allocations: 2.531 kB / 0.8367 GB, free: 138.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008436/1.695, allocations: 4.915 MB / 0.8415 GB, free: 136.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006266/1.701, allocations: 0.9289 MB / 0.8424 GB, free: 135.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0309/1.732, allocations: 20.71 MB / 0.8626 GB, free: 125.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005874/1.738, allocations: 5.275 MB / 0.8678 GB, free: 121.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005561/1.744, allocations: 2.665 MB / 0.8704 GB, free: 120 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/1.745, allocations: 399.5 kB / 0.8707 GB, free: 119.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.372e-06/1.745, allocations: 3.938 kB / 0.8707 GB, free: 119.6 MB / 478.1 MB Notification: Performance of Templates: time 0.1327/1.878, allocations: 99.02 MB / 0.9674 GB, free: 22.78 MB / 478.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.90496451035142]