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.0008289/0.0008289, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003196/0.003196, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8511/0.8511, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.373e-06/1.373e-06, allocations: 0 / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.675e-05, allocations: 2.281 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.01291/0.01293, allocations: 20.12 MB / 345.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.02364, allocations: 6.842 MB / 352.8 MB, free: 4.258 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.02569, allocations: 218.9 kB / 353 MB, free: 4.043 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006639/0.03233, allocations: 8.1 MB / 361.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004864/0.03719, allocations: 3.779 MB / 364.9 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.03968, allocations: 2.269 MB / 367.1 MB, free: 5.848 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.05059, allocations: 15.7 MB / 382.8 MB, free: 6.121 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006985/0.05758, allocations: 9.465 MB / 392.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006145/0.06372, allocations: 6.616 MB / 398.9 MB, free: 5.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005272/0.06899, allocations: 6.485 MB / 405.4 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009476/0.06994, allocations: 1.035 MB / 406.4 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.07215, allocations: 2.123 MB / 408.6 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002851/0.075, allocations: 5.436 MB / 414 MB, free: 6.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002412/0.07741, allocations: 3.444 MB / 417.4 MB, free: 3.367 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.08909, allocations: 17.72 MB / 435.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.08909, allocations: 0 / 435.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08909, allocations: 0 / 435.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003207/0.08941, allocations: 0 / 435.2 MB, free: 1.594 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: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.01544/0.1049, allocations: 11.63 MB / 446.8 MB, free: 5.867 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1049, allocations: 11.98 kB / 446.8 MB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02017/0.1251, allocations: 5.714 MB / 452.5 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2952/0.4203, allocations: 8.749 MB / 461.3 MB, free: 104 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.4205, allocations: 0.5179 MB / 461.8 MB, free: 103.8 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.4215, allocations: 0.7302 MB / 462.5 MB, free: 103.6 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/0.4393, allocations: 19.87 MB / 482.4 MB, free: 84.52 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/0.4395, allocations: 102.1 kB / 482.5 MB, free: 84.42 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005061/0.44, allocations: 326.6 kB / 482.8 MB, free: 84.15 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001823/0.4418, allocations: 2.812 MB / 485.6 MB, free: 81.35 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.4599, allocations: 16.26 MB / 0.4901 GB, free: 65.1 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.05289/0.5128, allocations: 68.19 MB / 0.5567 GB, free: 12.09 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.5258, allocations: 8.042 MB / 0.5646 GB, free: 4.012 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004147/0.5299, allocations: 4.501 MB / 0.569 GB, free: 15.48 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01493/0.5449, allocations: 12.66 MB / 0.5813 GB, free: 2.922 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.5449, allocations: 76.53 kB / 0.5814 GB, free: 2.836 MB / 442.8 MB Notification: Performance of pre-optimization done (n=320): time 5.921e-06/0.5449, allocations: 0 / 0.5814 GB, free: 2.836 MB / 442.8 MB Notification: Performance of matching and sorting (n=426): time 0.2653/0.8102, allocations: 54.31 MB / 0.6344 GB, free: 150 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.8103, allocations: 406.1 kB / 0.6348 GB, free: 149.6 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007204/0.8175, allocations: 7.827 MB / 0.6425 GB, free: 146.9 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005854/0.8181, allocations: 96.86 kB / 0.6426 GB, free: 146.9 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00195/0.82, allocations: 5.751 MB / 0.6482 GB, free: 142.9 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.8211, allocations: 1.609 MB / 0.6497 GB, free: 141.4 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001789/0.8229, allocations: 2.066 MB / 0.6518 GB, free: 139.5 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.181e-05/0.8229, allocations: 304.8 kB / 0.6521 GB, free: 139.2 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00425/0.8272, allocations: 5.213 MB / 0.6571 GB, free: 134.7 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005418/0.8326, allocations: 10.48 MB / 0.6674 GB, free: 121.9 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.8437, allocations: 16.3 MB / 0.6833 GB, free: 103.4 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.307e-05/0.8438, allocations: 49.41 kB / 0.6833 GB, free: 103.4 MB / 474.8 MB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.02451/0.8683, allocations: 21.13 MB / 0.704 GB, free: 82.21 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/0.8684, allocations: 83.98 kB / 0.7041 GB, free: 82.13 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.8685, allocations: 168 kB / 0.7042 GB, free: 81.97 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/0.8788, allocations: 6.645 MB / 0.7107 GB, free: 75.32 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004472/0.8832, allocations: 2.156 MB / 0.7128 GB, free: 73.16 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02856/0.9118, allocations: 34.5 MB / 0.7465 GB, free: 38.57 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00642/0.9182, allocations: 0.7256 MB / 0.7472 GB, free: 37.84 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008629/0.9191, allocations: 0.5351 MB / 0.7477 GB, free: 37.31 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 (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.005053/0.9241, allocations: 4.092 MB / 0.7517 GB, free: 33.21 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/0.9255, allocations: 0.6946 MB / 0.7524 GB, free: 32.51 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01541/0.9409, allocations: 14.17 MB / 0.7662 GB, free: 18.29 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/0.9409, allocations: 40 kB / 0.7663 GB, free: 18.25 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.386e-05/0.9409, allocations: 27.98 kB / 0.7663 GB, free: 18.22 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/0.941, allocations: 21.02 kB / 0.7663 GB, free: 18.2 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1977/1.139, allocations: 25.31 MB / 0.791 GB, free: 151.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/1.139, allocations: 7.312 kB / 0.7911 GB, free: 151.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.14, allocations: 0.5829 MB / 0.7916 GB, free: 151.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01018/1.151, allocations: 6.316 MB / 0.7978 GB, free: 151.2 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006169/1.151, allocations: 75.47 kB / 0.7979 GB, free: 151.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/1.176, allocations: 31.4 MB / 0.8285 GB, free: 138.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.176, allocations: 11.94 kB / 0.8285 GB, free: 138.4 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02029/1.197, allocations: 20.82 MB / 0.8489 GB, free: 118.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/1.199, allocations: 0.7492 MB / 0.8496 GB, free: 118.6 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007314/1.2, allocations: 76 kB / 0.8497 GB, free: 118.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/1.202, allocations: 424.5 kB / 0.8501 GB, free: 118.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007424/1.203, allocations: 322.9 kB / 0.8504 GB, free: 117.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002121/1.203, allocations: 116 kB / 0.8505 GB, free: 117.6 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004205/1.207, allocations: 4.848 MB / 0.8552 GB, free: 112.8 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.81e-07/1.207, allocations: 0 / 0.8552 GB, free: 112.8 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.006822/1.214, allocations: 2.703 MB / 0.8579 GB, free: 110.1 MB / 490.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 (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.0006542/1.215, allocations: 300.6 kB / 0.8582 GB, free: 109.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0109/1.225, allocations: 12.08 MB / 0.87 GB, free: 97.88 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.225, allocations: 4 kB / 0.87 GB, free: 97.88 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004258/1.23, allocations: 4.883 MB / 0.8747 GB, free: 93.03 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004169/1.234, allocations: 0.9936 MB / 0.8757 GB, free: 92.07 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/1.26, allocations: 23.58 MB / 0.8987 GB, free: 68.43 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004242/1.264, allocations: 5.856 MB / 0.9045 GB, free: 62.55 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/1.266, allocations: 495.7 kB / 0.9049 GB, free: 62.07 MB / 490.8 MB Notification: Performance of SimCode: time 2.034e-06/1.266, allocations: 0 / 0.9049 GB, free: 62.07 MB / 490.8 MB Notification: Performance of Templates: time 0.2884/1.554, allocations: 168.6 MB / 1.07 GB, free: 78.77 MB / 0.4949 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 -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: 16.054423784837127]