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.001856/0.001856, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 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.001869/0.001869, allocations: 153.1 kB / 24.27 MB, free: 164 kB / 18.57 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.542/1.542, allocations: 173.4 MB / 200.8 MB, free: 9.324 MB / 186.7 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 1.693e-06/1.693e-06, allocations: 0 / 267.4 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.264e-05, allocations: 2.312 kB / 267.4 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02809/0.02812, allocations: 19.93 MB / 287.3 MB, free: 2.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1265/0.1546, allocations: 6.087 MB / 293.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/0.1579, allocations: 209.2 kB / 293.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01204/0.1699, allocations: 6.852 MB / 300.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009031/0.179, allocations: 3.674 MB / 304.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.1833, allocations: 1.913 MB / 306 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01469/0.198, allocations: 14.58 MB / 320.6 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01199/0.21, allocations: 8.093 MB / 328.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01407/0.2241, allocations: 5.816 MB / 334.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/0.2356, allocations: 5.972 MB / 340.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003115/0.2387, allocations: 0.7773 MB / 341.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/0.2443, allocations: 1.705 MB / 343 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007906/0.2522, allocations: 4.81 MB / 347.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008349/0.2606, allocations: 2.941 MB / 350.7 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02384/0.2844, allocations: 14.64 MB / 365.4 MB, free: 7.008 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2844, allocations: 0 / 365.4 MB, free: 7.008 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2844, allocations: 0 / 365.4 MB, free: 7.008 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005397/0.2849, allocations: 0 / 365.4 MB, free: 7.008 MB / 314.7 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.03474/0.3197, allocations: 11.88 MB / 377.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.3197, allocations: 12.92 kB / 377.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05344/0.3732, allocations: 6.255 MB / 383.5 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02237/0.3955, allocations: 7.351 MB / 390.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005045/0.396, allocations: 448.1 kB / 391.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002191/0.3982, allocations: 0.6171 MB / 391.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02981/0.4281, allocations: 11.4 MB / 403.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003315/0.4284, allocations: 87.31 kB / 403.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001216/0.4296, allocations: 279.8 kB / 403.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005451/0.435, allocations: 2.858 MB / 406.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02321/0.4583, allocations: 5.939 MB / 412.5 MB, free: 6.535 MB / 362.7 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.3037/0.762, allocations: 78.77 MB / 491.2 MB, free: 55.85 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01697/0.779, allocations: 4.877 MB / 496.1 MB, free: 55.54 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.7817, allocations: 1.481 MB / 497.6 MB, free: 55.25 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0166/0.7983, allocations: 7.757 MB / 0.4935 GB, free: 51.16 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.7984, allocations: 72.77 kB / 0.4936 GB, free: 51.09 MB / 378.8 MB Notification: Performance of pre-optimization done (n=294): time 6.833e-06/0.7984, allocations: 0 / 0.4936 GB, free: 51.09 MB / 378.8 MB Notification: Performance of matching and sorting (n=360): time 0.1777/0.9761, allocations: 41.32 MB / 0.5339 GB, free: 16.8 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.9762, allocations: 402.2 kB / 0.5343 GB, free: 16.32 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009189/0.9854, allocations: 7.854 MB / 0.542 GB, free: 8.672 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000813/0.9862, allocations: 85.7 kB / 0.5421 GB, free: 8.582 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002943/0.9891, allocations: 6.026 MB / 0.5479 GB, free: 2.93 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001641/0.9907, allocations: 1.518 MB / 0.5494 GB, free: 1.426 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003417/0.9942, allocations: 2.409 MB / 0.5518 GB, free: 15 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0002575/0.9944, allocations: 484.7 kB / 0.5522 GB, free: 14.53 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004178/0.9986, allocations: 1.682 MB / 0.5539 GB, free: 12.84 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01141/1.01, allocations: 9.314 MB / 0.563 GB, free: 268 kB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01999/1.03, allocations: 12.75 MB / 0.5754 GB, free: 332 kB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000213/1.03, allocations: 48 kB / 0.5755 GB, free: 284 kB / 410.8 MB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.1876/1.218, allocations: 12.99 MB / 0.5882 GB, free: 121.2 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/1.218, allocations: 77.47 kB / 0.5882 GB, free: 121.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002184/1.218, allocations: 163 kB / 0.5884 GB, free: 121.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02421/1.242, allocations: 5.438 MB / 0.5937 GB, free: 121.1 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006591/1.249, allocations: 2.001 MB / 0.5957 GB, free: 121 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02998/1.279, allocations: 15.54 MB / 0.6108 GB, free: 114.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008485/1.287, allocations: 0.7043 MB / 0.6115 GB, free: 114.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001752/1.289, allocations: 0.501 MB / 0.612 GB, free: 114.1 MB / 410.8 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.003944/1.293, allocations: 1.016 MB / 0.613 GB, free: 113.5 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001866/1.295, allocations: 0.7461 MB / 0.6137 GB, free: 113.2 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02355/1.319, allocations: 7.821 MB / 0.6214 GB, free: 106.2 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-05/1.319, allocations: 43.83 kB / 0.6214 GB, free: 106.2 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/1.319, allocations: 20 kB / 0.6214 GB, free: 106.2 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.539e-05/1.319, allocations: 19.88 kB / 0.6214 GB, free: 106.1 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0482/1.367, allocations: 19.66 MB / 0.6406 GB, free: 86.22 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.817e-05/1.367, allocations: 4 kB / 0.6406 GB, free: 86.22 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/1.369, allocations: 467.3 kB / 0.6411 GB, free: 85.76 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02251/1.392, allocations: 5.128 MB / 0.6461 GB, free: 80.62 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008046/1.393, allocations: 64 kB / 0.6462 GB, free: 80.56 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02789/1.42, allocations: 14.63 MB / 0.6604 GB, free: 65.7 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.42, allocations: 15.88 kB / 0.6605 GB, free: 65.68 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02639/1.447, allocations: 9.784 MB / 0.67 GB, free: 55.69 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004691/1.451, allocations: 1.328 MB / 0.6713 GB, free: 54.37 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001635/1.453, allocations: 63.98 kB / 0.6714 GB, free: 54.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004578/1.458, allocations: 415.3 kB / 0.6718 GB, free: 53.9 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009933/1.459, allocations: 270.6 kB / 0.672 GB, free: 53.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003116/1.459, allocations: 95.98 kB / 0.6721 GB, free: 53.54 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00539/1.464, allocations: 3.463 MB / 0.6755 GB, free: 50.09 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.9e-07/1.464, allocations: 4.031 kB / 0.6755 GB, free: 50.09 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.009691/1.474, allocations: 2.537 MB / 0.678 GB, free: 47.57 MB / 410.8 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.0008809/1.475, allocations: 240.8 kB / 0.6782 GB, free: 47.34 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01388/1.489, allocations: 7.404 MB / 0.6854 GB, free: 39.86 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.489, allocations: 0 / 0.6854 GB, free: 39.86 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006598/1.495, allocations: 3.27 MB / 0.6886 GB, free: 36.54 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006838/1.502, allocations: 0.9897 MB / 0.6896 GB, free: 35.58 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.027/1.529, allocations: 16.33 MB / 0.7056 GB, free: 19.04 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005257/1.535, allocations: 4.827 MB / 0.7103 GB, free: 14.18 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00501/1.54, allocations: 2.236 MB / 0.7124 GB, free: 11.93 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.541, allocations: 400.4 kB / 0.7128 GB, free: 11.54 MB / 410.8 MB Notification: Performance of SimCode: time 1.443e-06/1.541, allocations: 0 / 0.7128 GB, free: 11.54 MB / 410.8 MB Notification: Performance of Templates: time 0.2699/1.811, allocations: 99.96 MB / 0.8105 GB, free: 49.57 MB / 410.8 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] 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.270970295998268]