Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001886/0.001886, allocations: 90.31 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002235/0.002235, allocations: 158 kB / 23.95 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.035e-05, allocations: 2.281 kB / 325.1 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02311/0.02313, allocations: 20.13 MB / 345.2 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.03845, allocations: 6.845 MB / 352 MB, free: 9.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004086/0.04253, allocations: 218.8 kB / 352.2 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01584/0.05837, allocations: 8.088 MB / 360.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.06894, allocations: 3.787 MB / 364.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004877/0.07382, allocations: 2.277 MB / 366.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0208/0.09462, allocations: 15.7 MB / 382.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.1072, allocations: 9.464 MB / 391.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01155/0.1188, allocations: 6.612 MB / 398.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01096/0.1297, allocations: 6.481 MB / 404.7 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002696/0.1324, allocations: 1.035 MB / 405.7 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004972/0.1374, allocations: 2.131 MB / 407.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006755/0.1441, allocations: 5.428 MB / 413.2 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007541/0.1517, allocations: 3.444 MB / 416.7 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02237/0.174, allocations: 17.72 MB / 434.4 MB, free: 7.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/0.1741, allocations: 0 / 434.4 MB, free: 7.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1741, allocations: 0 / 434.4 MB, free: 7.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007234/0.1748, allocations: 0 / 434.4 MB, free: 7.301 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.03338/0.2082, allocations: 11.63 MB / 446 MB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2082, allocations: 11.98 kB / 446.1 MB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05339/0.2616, allocations: 5.706 MB / 451.8 MB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02529/0.2869, allocations: 8.761 MB / 460.5 MB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009406/0.2878, allocations: 0.5218 MB / 461 MB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0044/0.2922, allocations: 0.7267 MB / 461.8 MB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.354/0.6462, allocations: 19.86 MB / 481.6 MB, free: 112 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005218/0.6467, allocations: 101.6 kB / 481.7 MB, free: 112 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002014/0.6488, allocations: 321.7 kB / 482 MB, free: 111.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005997/0.6548, allocations: 2.818 MB / 484.9 MB, free: 111.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04277/0.6975, allocations: 16.25 MB / 0.4894 GB, free: 104.1 MB / 430.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.08635/0.7839, allocations: 68.19 MB / 0.556 GB, free: 36.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02141/0.8053, allocations: 8.048 MB / 0.5638 GB, free: 28.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004998/0.8103, allocations: 4.503 MB / 0.5682 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01896/0.8292, allocations: 12.67 MB / 0.5806 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.8293, allocations: 72.53 kB / 0.5807 GB, free: 11.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=320): time 7.384e-06/0.8293, allocations: 0 / 0.5807 GB, free: 11.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=426): time 0.1949/1.024, allocations: 54.31 MB / 0.6337 GB, free: 5.656 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002584/1.025, allocations: 402.8 kB / 0.6341 GB, free: 5.176 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2273/1.252, allocations: 7.827 MB / 0.6417 GB, free: 149.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001095/1.253, allocations: 93.03 kB / 0.6418 GB, free: 149.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004142/1.257, allocations: 5.76 MB / 0.6474 GB, free: 147.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002047/1.259, allocations: 1.607 MB / 0.649 GB, free: 145.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003523/1.263, allocations: 2.07 MB / 0.651 GB, free: 144.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.93e-05/1.263, allocations: 303.1 kB / 0.6513 GB, free: 144.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007774/1.27, allocations: 5.212 MB / 0.6564 GB, free: 142.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/1.281, allocations: 10.48 MB / 0.6666 GB, free: 133.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01741/1.298, allocations: 16.29 MB / 0.6826 GB, free: 122.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001903/1.299, allocations: 50.16 kB / 0.6826 GB, free: 122.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.04072/1.339, allocations: 21.13 MB / 0.7032 GB, free: 109.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000271/1.34, allocations: 80 kB / 0.7033 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003296/1.34, allocations: 168 kB / 0.7035 GB, free: 109.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/1.361, allocations: 6.661 MB / 0.71 GB, free: 102.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007311/1.368, allocations: 2.148 MB / 0.7121 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04949/1.417, allocations: 34.5 MB / 0.7458 GB, free: 66.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0121/1.429, allocations: 0.7295 MB / 0.7465 GB, free: 65.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002302/1.432, allocations: 0.5351 MB / 0.747 GB, free: 64.77 MB / 478.1 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 (1174): * Single equations (assignments): 1169 * 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.008585/1.44, allocations: 4.088 MB / 0.751 GB, free: 60.67 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002722/1.443, allocations: 0.6869 MB / 0.7517 GB, free: 59.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03451/1.478, allocations: 14.17 MB / 0.7655 GB, free: 45.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.63e-05/1.478, allocations: 48 kB / 0.7655 GB, free: 45.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.813e-05/1.478, allocations: 25.19 kB / 0.7656 GB, free: 45.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001172/1.478, allocations: 15.94 kB / 0.7656 GB, free: 45.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05803/1.536, allocations: 25.3 MB / 0.7903 GB, free: 20.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.445e-05/1.536, allocations: 11.25 kB / 0.7903 GB, free: 20.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/1.539, allocations: 0.5859 MB / 0.7909 GB, free: 19.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02053/1.56, allocations: 6.319 MB / 0.797 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001523/1.561, allocations: 81.62 kB / 0.7971 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2399/1.801, allocations: 31.39 MB / 0.8278 GB, free: 146.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/1.801, allocations: 14.41 kB / 0.8278 GB, free: 146.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03539/1.836, allocations: 20.82 MB / 0.8481 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/1.839, allocations: 0.7394 MB / 0.8489 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001354/1.84, allocations: 86.06 kB / 0.8489 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004349/1.844, allocations: 432.5 kB / 0.8493 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/1.845, allocations: 313.6 kB / 0.8496 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003529/1.846, allocations: 118.5 kB / 0.8498 GB, free: 138.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006014/1.852, allocations: 4.842 MB / 0.8545 GB, free: 136.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.852, allocations: 2.656 kB / 0.8545 GB, free: 136.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009277/1.861, allocations: 2.707 MB / 0.8571 GB, free: 136.4 MB / 494.1 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 (294): * Single equations (assignments): 290 * 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.000954/1.862, allocations: 298.4 kB / 0.8574 GB, free: 136.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01533/1.877, allocations: 12.09 MB / 0.8692 GB, free: 127.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.877, allocations: 5.969 kB / 0.8692 GB, free: 127.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006476/1.884, allocations: 4.881 MB / 0.874 GB, free: 123.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00658/1.89, allocations: 0.9784 MB / 0.875 GB, free: 122.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/1.926, allocations: 22.83 MB / 0.8972 GB, free: 99.78 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007648/1.934, allocations: 5.934 MB / 0.903 GB, free: 93.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006337/1.94, allocations: 2.935 MB / 0.9059 GB, free: 91.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001749/1.942, allocations: 432.4 kB / 0.9063 GB, free: 90.63 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/1.942, allocations: 0 / 0.9063 GB, free: 90.63 MB / 494.1 MB Notification: Performance of Templates: time 0.333/2.275, allocations: 107.7 MB / 1.012 GB, free: 140.7 MB / 494.1 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.81736035272479]