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.001334/0.001334, allocations: 77.78 kB / 21.25 MB, free: 0.5469 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.001772/0.001772, allocations: 161.8 kB / 24.5 MB, free: 3.711 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.464/1.464, allocations: 177.1 MB / 204.7 MB, free: 8.969 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 0.001954/0.001954, allocations: 65.45 kB / 325.6 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1068, allocations: 53.38 MB / 378.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02328/0.13, allocations: 20.1 MB / 399 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01578/0.1458, allocations: 6.834 MB / 405.9 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00507/0.1509, allocations: 214.8 kB / 406.1 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01618/0.1671, allocations: 7.692 MB / 413.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.178, allocations: 3.669 MB / 417.5 MB, free: 8.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005191/0.1831, allocations: 2.02 MB / 419.5 MB, free: 6.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01952/0.2027, allocations: 13.6 MB / 433.1 MB, free: 9.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0117/0.2144, allocations: 7.91 MB / 441 MB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009968/0.2243, allocations: 4.32 MB / 445.3 MB, free: 12.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.2361, allocations: 5.725 MB / 451 MB, free: 7.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003272/0.2393, allocations: 1 MB / 452 MB, free: 6.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005771/0.2451, allocations: 2.037 MB / 454.1 MB, free: 4.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007412/0.2525, allocations: 5.159 MB / 459.2 MB, free: 14.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008629/0.2612, allocations: 4.147 MB / 463.4 MB, free: 10.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2173/0.4785, allocations: 17.35 MB / 480.7 MB, free: 33.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.4785, allocations: 0 / 480.7 MB, free: 33.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4785, allocations: 0 / 480.7 MB, free: 33.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006184/0.4791, allocations: 5.156 kB / 480.7 MB, free: 33.8 MB / 430.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.03448/0.5136, allocations: 11.38 MB / 492.1 MB, free: 29.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.5136, allocations: 12.2 kB / 492.1 MB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04769/0.5613, allocations: 5.712 MB / 497.8 MB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02358/0.5849, allocations: 8.816 MB / 0.4948 GB, free: 27.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004415/0.5853, allocations: 0.5228 MB / 0.4953 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003617/0.5889, allocations: 0.7298 MB / 0.496 GB, free: 27.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03944/0.6284, allocations: 19.87 MB / 0.5154 GB, free: 16.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003892/0.6288, allocations: 99.45 kB / 0.5155 GB, free: 16.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002292/0.631, allocations: 324.7 kB / 0.5158 GB, free: 16.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00359/0.6346, allocations: 2.815 MB / 0.5185 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03194/0.6666, allocations: 16.25 MB / 0.5344 GB, free: 13.28 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.1088/0.7753, allocations: 67.04 MB / 0.5999 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02472/0.8001, allocations: 8.043 MB / 0.6077 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007403/0.8075, allocations: 4.501 MB / 0.6121 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02516/0.8326, allocations: 12.27 MB / 0.6241 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.167e-05/0.8327, allocations: 72.86 kB / 0.6242 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=320): time 7.835e-06/0.8327, allocations: 0 / 0.6242 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=426): time 0.4053/1.238, allocations: 54.11 MB / 0.677 GB, free: 204.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.238, allocations: 403.4 kB / 0.6774 GB, free: 204.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008435/1.247, allocations: 7.31 MB / 0.6846 GB, free: 202.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001022/1.248, allocations: 92.86 kB / 0.6846 GB, free: 202.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002806/1.25, allocations: 5.802 MB / 0.6903 GB, free: 199.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001574/1.252, allocations: 1.627 MB / 0.6919 GB, free: 198 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002605/1.255, allocations: 2.092 MB / 0.6939 GB, free: 197 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.244e-05/1.255, allocations: 305.1 kB / 0.6942 GB, free: 196.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005936/1.261, allocations: 5.211 MB / 0.6993 GB, free: 194.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008641/1.269, allocations: 10.48 MB / 0.7096 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01786/1.287, allocations: 16.3 MB / 0.7255 GB, free: 171 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/1.287, allocations: 48 kB / 0.7255 GB, free: 171 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.03819/1.325, allocations: 21.12 MB / 0.7461 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.868e-05/1.325, allocations: 83.98 kB / 0.7462 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/1.326, allocations: 168 kB / 0.7464 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01778/1.343, allocations: 6.65 MB / 0.7529 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006612/1.35, allocations: 2.16 MB / 0.755 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04123/1.391, allocations: 34.44 MB / 0.7886 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008586/1.4, allocations: 0.6242 MB / 0.7892 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00184/1.402, allocations: 0.5345 MB / 0.7898 GB, free: 105.1 MB / 0.5606 GB 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.006587/1.408, allocations: 4.082 MB / 0.7937 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/1.41, allocations: 0.6907 MB / 0.7944 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02687/1.437, allocations: 14.18 MB / 0.8083 GB, free: 86.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.389e-05/1.437, allocations: 51.92 kB / 0.8083 GB, free: 86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-05/1.437, allocations: 24 kB / 0.8083 GB, free: 85.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.204e-05/1.437, allocations: 18.75 kB / 0.8083 GB, free: 85.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04991/1.487, allocations: 25.09 MB / 0.8329 GB, free: 60.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.132e-05/1.487, allocations: 8 kB / 0.8329 GB, free: 60.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/1.49, allocations: 0.5773 MB / 0.8334 GB, free: 60.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01876/1.508, allocations: 6.318 MB / 0.8396 GB, free: 53.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001247/1.51, allocations: 83.92 kB / 0.8397 GB, free: 53.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04097/1.551, allocations: 31.36 MB / 0.8703 GB, free: 22.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/1.551, allocations: 15.94 kB / 0.8703 GB, free: 22.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2542/1.805, allocations: 20.82 MB / 0.8906 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/1.807, allocations: 0.6456 MB / 0.8913 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/1.808, allocations: 81.59 kB / 0.8914 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00429/1.812, allocations: 332.6 kB / 0.8917 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/1.813, allocations: 317.4 kB / 0.892 GB, free: 186 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004077/1.814, allocations: 112 kB / 0.8921 GB, free: 186 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006028/1.82, allocations: 4.451 MB / 0.8964 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.82, allocations: 0 / 0.8964 GB, free: 184.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01057/1.83, allocations: 2.399 MB / 0.8988 GB, free: 184.3 MB / 0.5606 GB 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.001158/1.832, allocations: 281.3 kB / 0.899 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.017/1.849, allocations: 12.09 MB / 0.9108 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/1.849, allocations: 0 / 0.9108 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006934/1.856, allocations: 4.885 MB / 0.9156 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00626/1.862, allocations: 0.9801 MB / 0.9166 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04003/1.902, allocations: 22.88 MB / 0.9389 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01083/1.913, allocations: 5.937 MB / 0.9447 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007495/1.92, allocations: 2.908 MB / 0.9475 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/1.922, allocations: 412.5 kB / 0.9479 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/1.922, allocations: 0 / 0.9479 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.1676/2.089, allocations: 103.8 MB / 1.049 GB, free: 41.58 MB / 0.5606 GB " [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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins1/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.446302077965811]