Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.0008864/0.0008864, allocations: 84 kB / 21.43 MB, free: 3.129 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.004753/0.004753, allocations: 149.6 kB / 24.68 MB, free: 9.422 MB / 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 0.8778/0.8778, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 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_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.207e-05, allocations: 5.656 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.01484/0.01488, allocations: 20.2 MB / 339.9 MB, free: 1.531 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.02765, allocations: 6.85 MB / 346.8 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004297/0.03195, allocations: 218.8 kB / 347 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01014/0.04208, allocations: 8.127 MB / 355.1 MB, free: 2.293 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009827/0.05191, allocations: 3.818 MB / 358.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004951/0.05686, allocations: 2.273 MB / 361.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01647/0.07333, allocations: 15.18 MB / 376.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01294/0.08627, allocations: 9.472 MB / 385.9 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01345/0.09972, allocations: 6.632 MB / 392.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008466/0.1082, allocations: 6.489 MB / 399 MB, free: 6.254 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002678/0.1109, allocations: 1.031 MB / 400 MB, free: 5.223 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004441/0.1153, allocations: 2.15 MB / 402.2 MB, free: 3.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005891/0.1212, allocations: 5.448 MB / 407.6 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006537/0.1277, allocations: 3.464 MB / 411.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.1461, allocations: 17.78 MB / 428.8 MB, free: 8.301 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1461, allocations: 4 kB / 428.9 MB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1461, allocations: 0 / 428.9 MB, free: 8.297 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006844/0.1468, allocations: 0 / 428.9 MB, free: 8.297 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.02881/0.1756, allocations: 11.65 MB / 440.5 MB, free: 12.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1757, allocations: 15.97 kB / 440.5 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02297/0.1987, allocations: 5.706 MB / 446.2 MB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2856/0.4842, allocations: 8.763 MB / 455 MB, free: 111.2 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.4845, allocations: 0.5166 MB / 455.5 MB, free: 111.2 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002572/0.4871, allocations: 0.7287 MB / 456.2 MB, free: 111.1 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0238/0.5109, allocations: 19.86 MB / 476.1 MB, free: 95.32 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002832/0.5112, allocations: 97.3 kB / 476.2 MB, free: 95.25 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/0.5124, allocations: 327.7 kB / 476.5 MB, free: 94.98 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002183/0.5146, allocations: 2.813 MB / 479.3 MB, free: 92.17 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.5375, allocations: 16.25 MB / 495.6 MB, free: 75.92 MB / 410.8 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.06921/0.6067, allocations: 68.21 MB / 0.5506 GB, free: 7.352 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.6192, allocations: 8.061 MB / 0.5584 GB, free: 15.3 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004817/0.6241, allocations: 4.508 MB / 0.5628 GB, free: 10.77 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01812/0.6422, allocations: 12.66 MB / 0.5752 GB, free: 14.2 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.6422, allocations: 80.59 kB / 0.5753 GB, free: 14.11 MB / 442.8 MB Notification: Performance of pre-optimization done (n=321): time 7.153e-06/0.6422, allocations: 0 / 0.5753 GB, free: 14.11 MB / 442.8 MB Notification: Performance of matching and sorting (n=428): time 0.2914/0.9337, allocations: 56.76 MB / 0.6307 GB, free: 158.3 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.9338, allocations: 408.5 kB / 0.6311 GB, free: 157.9 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009059/0.9428, allocations: 7.833 MB / 0.6388 GB, free: 155.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001147/0.944, allocations: 94.73 kB / 0.6389 GB, free: 155.4 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002537/0.9465, allocations: 5.765 MB / 0.6445 GB, free: 151.9 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001961/0.9485, allocations: 1.605 MB / 0.6461 GB, free: 150.7 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002447/0.9509, allocations: 2.068 MB / 0.6481 GB, free: 149.7 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.368e-05/0.951, allocations: 308.2 kB / 0.6484 GB, free: 149.4 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004922/0.9559, allocations: 5.218 MB / 0.6535 GB, free: 147.4 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006775/0.9627, allocations: 10.49 MB / 0.6637 GB, free: 135.6 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/0.9761, allocations: 16.3 MB / 0.6796 GB, free: 117.1 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001513/0.9763, allocations: 52 kB / 0.6797 GB, free: 117.1 MB / 474.8 MB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.02897/1.005, allocations: 21.14 MB / 0.7003 GB, free: 95.9 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/1.005, allocations: 79.94 kB / 0.7004 GB, free: 95.82 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/1.005, allocations: 172 kB / 0.7006 GB, free: 95.65 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/1.016, allocations: 6.656 MB / 0.7071 GB, free: 89 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004756/1.021, allocations: 2.15 MB / 0.7092 GB, free: 86.84 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03103/1.052, allocations: 34.5 MB / 0.7428 GB, free: 52.25 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007653/1.059, allocations: 0.7255 MB / 0.7436 GB, free: 51.52 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001805/1.061, allocations: 0.5351 MB / 0.7441 GB, free: 50.98 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.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 (1176): * Single equations (assignments): 1171 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006912/1.068, allocations: 4.094 MB / 0.7481 GB, free: 46.88 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001946/1.07, allocations: 0.683 MB / 0.7487 GB, free: 46.19 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/1.086, allocations: 14.18 MB / 0.7626 GB, free: 31.96 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.907e-05/1.086, allocations: 44 kB / 0.7626 GB, free: 31.91 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.756e-05/1.086, allocations: 24 kB / 0.7627 GB, free: 31.89 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-05/1.086, allocations: 23.67 kB / 0.7627 GB, free: 31.87 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03482/1.121, allocations: 25.33 MB / 0.7874 GB, free: 6.461 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-05/1.121, allocations: 8 kB / 0.7874 GB, free: 6.453 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/1.123, allocations: 0.578 MB / 0.788 GB, free: 5.875 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.185/1.308, allocations: 6.335 MB / 0.7942 GB, free: 142.8 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009747/1.309, allocations: 84.8 kB / 0.7943 GB, free: 142.8 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/1.336, allocations: 31.39 MB / 0.8249 GB, free: 131.8 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/1.336, allocations: 15.69 kB / 0.8249 GB, free: 131.8 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02267/1.359, allocations: 20.85 MB / 0.8453 GB, free: 115.2 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004418/1.363, allocations: 1.576 MB / 0.8468 GB, free: 114 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001814/1.365, allocations: 76 kB / 0.8469 GB, free: 114 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003503/1.368, allocations: 434.5 kB / 0.8473 GB, free: 113.5 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008406/1.369, allocations: 318.9 kB / 0.8476 GB, free: 113.2 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/1.369, allocations: 112 kB / 0.8477 GB, free: 113.1 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.005657/1.375, allocations: 4.849 MB / 0.8525 GB, free: 108.3 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.8e-07/1.375, allocations: 0 / 0.8525 GB, free: 108.3 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.009333/1.384, allocations: 2.742 MB / 0.8551 GB, free: 105.6 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (296): * Single equations (assignments): 292 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,116,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009347/1.385, allocations: 318.5 kB / 0.8554 GB, free: 105.3 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01166/1.397, allocations: 12.09 MB / 0.8672 GB, free: 93.3 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.397, allocations: 4 kB / 0.8672 GB, free: 93.3 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004722/1.402, allocations: 4.873 MB / 0.872 GB, free: 88.46 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005168/1.407, allocations: 1.001 MB / 0.873 GB, free: 87.5 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02901/1.436, allocations: 23.64 MB / 0.8961 GB, free: 63.82 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005484/1.441, allocations: 5.864 MB / 0.9018 GB, free: 57.94 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/1.443, allocations: 492.4 kB / 0.9023 GB, free: 57.46 MB / 474.8 MB Notification: Performance of SimCode: time 1.784e-06/1.443, allocations: 7.781 kB / 0.9023 GB, free: 57.45 MB / 474.8 MB Notification: Performance of Templates: time 0.3486/1.792, allocations: 169.1 MB / 1.067 GB, free: 68.52 MB / 490.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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: 16.38557050935924]