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.001883/0.001883, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.002005/0.002005, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.368/1.368, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.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.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 0.001521/0.001521, allocations: 51.91 kB / 368.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2606, allocations: 52.15 MB / 420.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02299/0.2836, allocations: 20.63 MB / 441.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.2977, allocations: 6.236 MB / 447.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.3011, allocations: 167.4 kB / 447.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.3128, allocations: 6.452 MB / 454.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008287/0.321, allocations: 3.533 MB / 457.9 MB, free: 10 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.3244, allocations: 1.665 MB / 459.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01656/0.3409, allocations: 12.65 MB / 472.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007359/0.3483, allocations: 5.768 MB / 478 MB, free: 5.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006199/0.3545, allocations: 3.778 MB / 481.8 MB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007818/0.3623, allocations: 5.359 MB / 487.1 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.364, allocations: 0.75 MB / 487.9 MB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.3673, allocations: 1.76 MB / 489.7 MB, free: 10.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004543/0.3719, allocations: 4.519 MB / 494.2 MB, free: 5.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006519/0.3784, allocations: 4.666 MB / 498.8 MB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01634/0.3947, allocations: 14.23 MB / 0.501 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.3947, allocations: 4 kB / 0.501 GB, free: 2.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3948, allocations: 0 / 0.501 GB, free: 2.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002995/0.3951, allocations: 0 / 0.501 GB, free: 2.621 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: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.03223/0.4273, allocations: 10.3 MB / 0.5111 GB, free: 8.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.4273, allocations: 12.02 kB / 0.5111 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0535/0.4808, allocations: 5.328 MB / 0.5163 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01919/0.5, allocations: 8.29 MB / 0.5244 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005019/0.5005, allocations: 448 kB / 0.5248 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/0.5025, allocations: 0.6128 MB / 0.5254 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4389/0.9414, allocations: 17.13 MB / 0.5422 GB, free: 95.07 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003298/0.9418, allocations: 98.47 kB / 0.5423 GB, free: 95.04 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008338/0.9426, allocations: 278.6 kB / 0.5425 GB, free: 94.89 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003646/0.9462, allocations: 2.855 MB / 0.5453 GB, free: 94.37 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0274/0.9736, allocations: 14.04 MB / 0.559 GB, free: 87.09 MB / 446.2 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.07277/1.046, allocations: 69.8 MB / 0.6272 GB, free: 16.29 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01736/1.064, allocations: 7.977 MB / 0.635 GB, free: 8.172 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004394/1.068, allocations: 4.357 MB / 0.6392 GB, free: 3.805 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01873/1.087, allocations: 12.79 MB / 0.6517 GB, free: 6.949 MB / 462.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/1.087, allocations: 68.56 kB / 0.6518 GB, free: 6.875 MB / 462.2 MB Notification: Performance of pre-optimization done (n=294): time 4.719e-06/1.087, allocations: 0 / 0.6518 GB, free: 6.875 MB / 462.2 MB Notification: Performance of matching and sorting (n=360): time 0.1951/1.282, allocations: 52.86 MB / 0.7034 GB, free: 2.441 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002544/1.282, allocations: 410.2 kB / 0.7038 GB, free: 1.953 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01306/1.295, allocations: 7.281 MB / 0.7109 GB, free: 10.8 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001083/1.296, allocations: 81.7 kB / 0.711 GB, free: 10.72 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.005375/1.302, allocations: 5.384 MB / 0.7162 GB, free: 5.492 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002597/1.304, allocations: 1.395 MB / 0.7176 GB, free: 4.086 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004186/1.309, allocations: 1.921 MB / 0.7195 GB, free: 2.152 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.309, allocations: 309 kB / 0.7198 GB, free: 1.848 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007688/1.317, allocations: 4.715 MB / 0.7244 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01237/1.329, allocations: 9.538 MB / 0.7337 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2947/1.624, allocations: 15.01 MB / 0.7484 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/1.624, allocations: 49.72 kB / 0.7484 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.04026/1.664, allocations: 20.42 MB / 0.7683 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.326e-05/1.664, allocations: 75.19 kB / 0.7684 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/1.664, allocations: 168 kB / 0.7686 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01984/1.684, allocations: 7.309 MB / 0.7757 GB, free: 154 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006375/1.69, allocations: 2 MB / 0.7777 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04055/1.731, allocations: 36.56 MB / 0.8134 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008996/1.74, allocations: 0.603 MB / 0.814 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/1.742, allocations: 0.5 MB / 0.8145 GB, free: 114.2 MB / 0.5294 GB 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.00596/1.748, allocations: 3.595 MB / 0.818 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001555/1.749, allocations: 0.6887 MB / 0.8186 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02473/1.774, allocations: 13.86 MB / 0.8322 GB, free: 96.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.9e-05/1.774, allocations: 43.36 kB / 0.8322 GB, free: 96.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.889e-05/1.774, allocations: 20 kB / 0.8322 GB, free: 96.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.737e-05/1.774, allocations: 15.94 kB / 0.8322 GB, free: 96.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04604/1.82, allocations: 27.61 MB / 0.8592 GB, free: 68.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-05/1.82, allocations: 8 kB / 0.8592 GB, free: 68.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/1.822, allocations: 472 kB / 0.8597 GB, free: 67.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01869/1.841, allocations: 6.971 MB / 0.8665 GB, free: 61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001343/1.842, allocations: 60 kB / 0.8665 GB, free: 60.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03953/1.882, allocations: 35.38 MB / 0.9011 GB, free: 25.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.882, allocations: 4 kB / 0.9011 GB, free: 25.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03257/1.915, allocations: 19.66 MB / 0.9203 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003834/1.918, allocations: 1.461 MB / 0.9217 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/1.92, allocations: 67.98 kB / 0.9218 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003875/1.924, allocations: 319.5 kB / 0.9221 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/1.925, allocations: 258.8 kB / 0.9223 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003199/1.925, allocations: 95.98 kB / 0.9224 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00714/1.932, allocations: 4.646 MB / 0.927 GB, free: 14.75 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.5e-07/1.932, allocations: 4 kB / 0.927 GB, free: 14.75 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.01069/1.943, allocations: 2.225 MB / 0.9291 GB, free: 12.53 MB / 0.5451 GB 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.001053/1.944, allocations: 223.6 kB / 0.9294 GB, free: 12.31 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.2492/2.193, allocations: 11.49 MB / 0.9406 GB, free: 186.6 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/2.193, allocations: 0 / 0.9406 GB, free: 186.6 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.008205/2.201, allocations: 4.917 MB / 0.9454 GB, free: 186.1 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006367/2.208, allocations: 1.015 MB / 0.9464 GB, free: 185.8 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0403/2.248, allocations: 20.76 MB / 0.9666 GB, free: 177.3 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009448/2.258, allocations: 5.73 MB / 0.9722 GB, free: 173.7 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.006399/2.264, allocations: 2.701 MB / 0.9749 GB, free: 172.1 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/2.265, allocations: 398.8 kB / 0.9753 GB, free: 171.7 MB / 0.5451 GB Notification: Performance of SimCode: time 1.312e-06/2.265, allocations: 0 / 0.9753 GB, free: 171.7 MB / 0.5451 GB Notification: Performance of Templates: time 0.1394/2.405, allocations: 98.76 MB / 1.072 GB, free: 74.32 MB / 0.5451 GB " [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: 9.3303401498124]