Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001767/0.001767, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 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.002792/0.002792, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 378.2 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2652, allocations: 53.36 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02122/0.2864, allocations: 16.74 MB / 448.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.3003, allocations: 5.792 MB / 454.1 MB, free: 128 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.3034, allocations: 187 kB / 454.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01111/0.3145, allocations: 5.677 MB / 460 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008602/0.3231, allocations: 3.42 MB / 463.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.3263, allocations: 1.576 MB / 465 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0182/0.3445, allocations: 12.7 MB / 477.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007797/0.3523, allocations: 5.915 MB / 483.6 MB, free: 2.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005814/0.3581, allocations: 3.634 MB / 487.2 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007704/0.3658, allocations: 4.833 MB / 492.1 MB, free: 10.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.3675, allocations: 0.7148 MB / 492.8 MB, free: 9.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.371, allocations: 1.569 MB / 494.4 MB, free: 7.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006337/0.3774, allocations: 4.305 MB / 498.7 MB, free: 3.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007855/0.3852, allocations: 3.403 MB / 0.4903 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0221/0.4073, allocations: 13.73 MB / 0.5037 GB, free: 2.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.4074, allocations: 4 kB / 0.5037 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4074, allocations: 3.938 kB / 0.5037 GB, free: 2.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006257/0.408, allocations: 0 / 0.5037 GB, free: 2.207 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.02424/0.4322, allocations: 9.819 MB / 0.5133 GB, free: 8.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4323, allocations: 12.03 kB / 0.5133 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05795/0.4902, allocations: 5.289 MB / 0.5185 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02146/0.5117, allocations: 7.838 MB / 0.5261 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00051/0.5122, allocations: 431.4 kB / 0.5265 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002601/0.5148, allocations: 0.5933 MB / 0.5271 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4017/0.9165, allocations: 16.81 MB / 0.5435 GB, free: 89.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002771/0.9167, allocations: 94.81 kB / 0.5436 GB, free: 89.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006202/0.9174, allocations: 265.8 kB / 0.5439 GB, free: 89.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003652/0.921, allocations: 2.767 MB / 0.5466 GB, free: 89.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/0.943, allocations: 13.59 MB / 0.5598 GB, free: 81.55 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.08058/1.024, allocations: 61.43 MB / 0.6198 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/1.041, allocations: 7.218 MB / 0.6269 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004216/1.045, allocations: 4.241 MB / 0.631 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01624/1.061, allocations: 10.71 MB / 0.6415 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.763e-05/1.062, allocations: 64.5 kB / 0.6415 GB, free: 13.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 7.274e-06/1.062, allocations: 0 / 0.6415 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1888/1.25, allocations: 50.47 MB / 0.6908 GB, free: 11.63 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002738/1.251, allocations: 398.1 kB / 0.6912 GB, free: 11.16 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.261, allocations: 6.767 MB / 0.6978 GB, free: 4.59 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008497/1.262, allocations: 77.7 kB / 0.6979 GB, free: 4.508 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004322/1.266, allocations: 5.226 MB / 0.703 GB, free: 15.38 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002047/1.268, allocations: 1.314 MB / 0.7043 GB, free: 14.05 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003013/1.271, allocations: 1.877 MB / 0.7061 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.271, allocations: 301.1 kB / 0.7064 GB, free: 11.87 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007122/1.278, allocations: 4.543 MB / 0.7108 GB, free: 7.316 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0116/1.29, allocations: 9.493 MB / 0.7201 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02203/1.312, allocations: 14.54 MB / 0.7343 GB, free: 10.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001788/1.312, allocations: 44 kB / 0.7344 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.273/1.585, allocations: 19.66 MB / 0.7536 GB, free: 179.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.573e-05/1.585, allocations: 77.36 kB / 0.7536 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/1.585, allocations: 162.2 kB / 0.7538 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01904/1.604, allocations: 7.047 MB / 0.7607 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00552/1.61, allocations: 1.926 MB / 0.7625 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03943/1.649, allocations: 34.58 MB / 0.7963 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007215/1.657, allocations: 0.5822 MB / 0.7969 GB, free: 152.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008509/1.657, allocations: 0.4921 MB / 0.7974 GB, free: 152.4 MB / 0.545 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.004305/1.662, allocations: 3.47 MB / 0.8007 GB, free: 149 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.663, allocations: 0.6199 MB / 0.8014 GB, free: 148.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02436/1.687, allocations: 13.19 MB / 0.8142 GB, free: 135.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-05/1.687, allocations: 32 kB / 0.8143 GB, free: 135.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.253e-05/1.687, allocations: 20 kB / 0.8143 GB, free: 135.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-05/1.687, allocations: 19.89 kB / 0.8143 GB, free: 135.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04103/1.728, allocations: 24.11 MB / 0.8379 GB, free: 111.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.686e-05/1.728, allocations: 12.16 kB / 0.8379 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/1.73, allocations: 415.4 kB / 0.8383 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01817/1.749, allocations: 6.645 MB / 0.8448 GB, free: 104.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007539/1.749, allocations: 63.83 kB / 0.8448 GB, free: 104 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03808/1.787, allocations: 33.27 MB / 0.8773 GB, free: 70.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.787, allocations: 11.94 kB / 0.8773 GB, free: 70.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03056/1.818, allocations: 18.69 MB / 0.8956 GB, free: 52.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.82, allocations: 0.589 MB / 0.8961 GB, free: 51.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002092/1.822, allocations: 63.94 kB / 0.8962 GB, free: 51.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003614/1.826, allocations: 311.6 kB / 0.8965 GB, free: 51.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000831/1.827, allocations: 250.7 kB / 0.8967 GB, free: 51.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002663/1.827, allocations: 92 kB / 0.8968 GB, free: 51.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0057/1.833, allocations: 4.114 MB / 0.9008 GB, free: 46.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.3e-07/1.833, allocations: 0 / 0.9008 GB, free: 46.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009039/1.842, allocations: 2.109 MB / 0.9029 GB, free: 44.82 MB / 0.545 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.0007519/1.842, allocations: 212.6 kB / 0.9031 GB, free: 44.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01615/1.859, allocations: 11.1 MB / 0.9139 GB, free: 33.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.859, allocations: 3.938 kB / 0.9139 GB, free: 33.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007096/1.866, allocations: 4.661 MB / 0.9185 GB, free: 28.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005049/1.871, allocations: 0.8944 MB / 0.9194 GB, free: 27.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03282/1.903, allocations: 19.89 MB / 0.9388 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006672/1.91, allocations: 5.061 MB / 0.9437 GB, free: 2.777 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005406/1.916, allocations: 2.538 MB / 0.9462 GB, free: 236 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.917, allocations: 363.5 kB / 0.9466 GB, free: 15.88 MB / 0.5607 GB Notification: Performance of SimCode: time 1.222e-06/1.917, allocations: 0 / 0.9466 GB, free: 15.88 MB / 0.5607 GB Notification: Performance of Templates: time 0.372/2.289, allocations: 99.38 MB / 1.044 GB, free: 117.6 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.448605740442872]