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.001406/0.001406, allocations: 107.5 kB / 20.44 MB, free: 1.355 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.001566/0.001566, allocations: 193.2 kB / 23.71 MB, free: 4.555 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.45/1.45, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.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.001458/0.001458, allocations: 47.92 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2316, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02091/0.2525, allocations: 16.8 MB / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.266, allocations: 5.771 MB / 445.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004895/0.2709, allocations: 198.8 kB / 445.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01179/0.2827, allocations: 5.689 MB / 451.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008893/0.2916, allocations: 3.471 MB / 455 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00339/0.295, allocations: 1.572 MB / 456.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0166/0.3116, allocations: 12.4 MB / 469 MB, free: 472 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008024/0.3196, allocations: 5.931 MB / 474.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005951/0.3256, allocations: 3.638 MB / 478.5 MB, free: 6.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007412/0.333, allocations: 4.841 MB / 483.4 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.3345, allocations: 0.7109 MB / 484.1 MB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/0.3376, allocations: 1.584 MB / 485.7 MB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004122/0.3417, allocations: 4.324 MB / 490 MB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004295/0.346, allocations: 3.427 MB / 493.4 MB, free: 7.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01651/0.3625, allocations: 13.78 MB / 0.4953 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3625, allocations: 4 kB / 0.4953 GB, free: 10.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3625, allocations: 0 / 0.4953 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004293/0.3629, allocations: 4 kB / 0.4953 GB, free: 10.02 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.02632/0.3893, allocations: 9.835 MB / 0.5049 GB, free: 100 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3893, allocations: 8.031 kB / 0.505 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04606/0.4354, allocations: 5.288 MB / 0.5101 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0218/0.4572, allocations: 8.005 MB / 0.5179 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004648/0.4576, allocations: 432.5 kB / 0.5183 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002155/0.4598, allocations: 0.5855 MB / 0.5189 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4111/0.8709, allocations: 16.81 MB / 0.5353 GB, free: 100.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003906/0.8713, allocations: 93.03 kB / 0.5354 GB, free: 100.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001276/0.8725, allocations: 267.5 kB / 0.5357 GB, free: 100.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004791/0.8773, allocations: 2.764 MB / 0.5384 GB, free: 100.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02389/0.9012, allocations: 13.58 MB / 0.5516 GB, free: 93.08 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.06301/0.9642, allocations: 61.43 MB / 0.6116 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01742/0.9816, allocations: 7.221 MB / 0.6187 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004567/0.9862, allocations: 4.246 MB / 0.6228 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/1.004, allocations: 10.71 MB / 0.6333 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/1.004, allocations: 72.44 kB / 0.6334 GB, free: 9.156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=280): time 6.822e-06/1.004, allocations: 0 / 0.6334 GB, free: 9.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.188/1.192, allocations: 50.46 MB / 0.6826 GB, free: 7.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002472/1.192, allocations: 402 kB / 0.683 GB, free: 6.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.203, allocations: 6.765 MB / 0.6896 GB, free: 224 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009849/1.204, allocations: 77.7 kB / 0.6897 GB, free: 140 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00499/1.209, allocations: 5.232 MB / 0.6948 GB, free: 11.01 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002001/1.211, allocations: 1.318 MB / 0.6961 GB, free: 9.68 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003046/1.214, allocations: 1.873 MB / 0.6979 GB, free: 7.793 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.214, allocations: 301.1 kB / 0.6982 GB, free: 7.496 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006903/1.221, allocations: 4.547 MB / 0.7027 GB, free: 2.941 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0116/1.232, allocations: 9.501 MB / 0.7119 GB, free: 7.094 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02091/1.253, allocations: 14.53 MB / 0.7261 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002295/1.253, allocations: 48 kB / 0.7262 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.2497/1.503, allocations: 19.66 MB / 0.7454 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/1.503, allocations: 74.12 kB / 0.7454 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/1.503, allocations: 158.8 kB / 0.7456 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01909/1.522, allocations: 7.057 MB / 0.7525 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005456/1.528, allocations: 1.928 MB / 0.7544 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03933/1.567, allocations: 34.57 MB / 0.7881 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007749/1.575, allocations: 0.5895 MB / 0.7887 GB, free: 140 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/1.576, allocations: 496 kB / 0.7892 GB, free: 139.5 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.005528/1.582, allocations: 3.478 MB / 0.7926 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00168/1.583, allocations: 0.6167 MB / 0.7932 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02521/1.609, allocations: 13.19 MB / 0.8061 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-05/1.609, allocations: 39.94 kB / 0.8061 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.08e-05/1.609, allocations: 23.98 kB / 0.8061 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.613e-05/1.609, allocations: 11.95 kB / 0.8061 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04491/1.654, allocations: 24.12 MB / 0.8297 GB, free: 98.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-05/1.654, allocations: 4 kB / 0.8297 GB, free: 98.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/1.656, allocations: 424.1 kB / 0.8301 GB, free: 97.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01846/1.674, allocations: 6.642 MB / 0.8366 GB, free: 91.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006537/1.675, allocations: 60 kB / 0.8366 GB, free: 91.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03831/1.713, allocations: 33.28 MB / 0.8691 GB, free: 57.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.713, allocations: 11.94 kB / 0.8692 GB, free: 57.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0309/1.744, allocations: 18.68 MB / 0.8874 GB, free: 39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/1.746, allocations: 0.5909 MB / 0.888 GB, free: 38.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.747, allocations: 60 kB / 0.888 GB, free: 38.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003317/1.75, allocations: 307.5 kB / 0.8883 GB, free: 38.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000827/1.751, allocations: 250.5 kB / 0.8886 GB, free: 37.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/1.752, allocations: 92.06 kB / 0.8887 GB, free: 37.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005121/1.757, allocations: 4.118 MB / 0.8927 GB, free: 33.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.757, allocations: 0 / 0.8927 GB, free: 33.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007292/1.764, allocations: 2.131 MB / 0.8948 GB, free: 31.48 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.0005796/1.765, allocations: 213 kB / 0.895 GB, free: 31.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01533/1.78, allocations: 11.1 MB / 0.9058 GB, free: 20.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.78, allocations: 5.703 kB / 0.9058 GB, free: 20.14 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007814/1.788, allocations: 4.655 MB / 0.9103 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005194/1.793, allocations: 0.8983 MB / 0.9112 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/1.83, allocations: 19.89 MB / 0.9306 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2382/2.068, allocations: 5.055 MB / 0.9356 GB, free: 181.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00612/2.074, allocations: 2.548 MB / 0.9381 GB, free: 181.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/2.075, allocations: 367.1 kB / 0.9384 GB, free: 181.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.383e-06/2.075, allocations: 3 kB / 0.9384 GB, free: 181.2 MB / 0.545 GB Notification: Performance of Templates: time 0.1288/2.204, allocations: 99.55 MB / 1.036 GB, free: 101.1 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/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: 9.274699982255697]