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.0009362/0.0009362, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001145/0.001145, allocations: 166.4 kB / 24.91 MB, free: 8.77 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.9184/0.9184, allocations: 177 MB / 205.2 MB, free: 5.047 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.193e-06/1.193e-06, allocations: 0 / 273.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.958e-05, allocations: 5.266 kB / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1274/0.1275, allocations: 21.89 MB / 295.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1404, allocations: 7.243 MB / 302.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003806/0.1442, allocations: 216.6 kB / 302.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007837/0.152, allocations: 8.358 MB / 311.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007404/0.1594, allocations: 3.835 MB / 315 MB, free: 5.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.163, allocations: 2.305 MB / 317.3 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.1755, allocations: 15.66 MB / 333 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00955/0.1851, allocations: 9.271 MB / 342.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01289/0.198, allocations: 9.281 MB / 351.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008741/0.2067, allocations: 6.443 MB / 358 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003175/0.2099, allocations: 1.035 MB / 359 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005061/0.2149, allocations: 2.185 MB / 361.2 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007006/0.2219, allocations: 5.475 MB / 366.7 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005852/0.2278, allocations: 3.472 MB / 370.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.241, allocations: 10.68 MB / 380.8 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.241, allocations: 0 / 380.8 MB, free: 5.137 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.241, allocations: 0 / 380.8 MB, free: 5.137 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003647/0.2413, allocations: 0 / 380.8 MB, free: 5.137 MB / 330.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.0165/0.2578, allocations: 10.44 MB / 391.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2579, allocations: 15.98 kB / 391.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008198/0.2661, allocations: 2.424 MB / 393.7 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.2765, allocations: 5.751 MB / 399.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/0.2768, allocations: 0.5296 MB / 400 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/0.2784, allocations: 0.7267 MB / 400.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/0.2953, allocations: 9.658 MB / 410.4 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002567/0.2956, allocations: 91.31 kB / 410.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008059/0.2964, allocations: 323.8 kB / 410.8 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/0.2988, allocations: 2.622 MB / 413.4 MB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.3104, allocations: 4.675 MB / 418.1 MB, free: 14.49 MB / 378.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.2967/0.6071, allocations: 54.12 MB / 472.2 MB, free: 72.79 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/0.6181, allocations: 3.555 MB / 475.7 MB, free: 72.56 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.62, allocations: 0.8768 MB / 476.6 MB, free: 72.52 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01532/0.6354, allocations: 8.622 MB / 485.2 MB, free: 70.32 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.6354, allocations: 74.91 kB / 485.3 MB, free: 70.26 MB / 378.8 MB Notification: Performance of pre-optimization done (n=298): time 6.182e-06/0.6354, allocations: 0 / 485.3 MB, free: 70.26 MB / 378.8 MB Notification: Performance of matching and sorting (n=406): time 0.07198/0.7074, allocations: 23.54 MB / 0.4969 GB, free: 52.06 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/0.7075, allocations: 406.2 kB / 0.4973 GB, free: 51.58 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006737/0.7142, allocations: 5.81 MB / 0.503 GB, free: 46.51 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009357/0.7152, allocations: 89.7 kB / 0.5031 GB, free: 46.41 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001843/0.717, allocations: 5.091 MB / 0.508 GB, free: 41.59 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001486/0.7185, allocations: 1.534 MB / 0.5095 GB, free: 40.04 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001664/0.7202, allocations: 1.887 MB / 0.5114 GB, free: 38.14 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.215e-05/0.7202, allocations: 305.1 kB / 0.5117 GB, free: 37.84 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.7224, allocations: 1.533 MB / 0.5132 GB, free: 36.3 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.7258, allocations: 6.586 MB / 0.5196 GB, free: 27.34 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005748/0.7315, allocations: 8.594 MB / 0.528 GB, free: 16.7 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.469e-05/0.7316, allocations: 51.83 kB / 0.528 GB, free: 16.65 MB / 378.8 MB Notification: Performance of matching and sorting (n=1303) (initialization): time 0.01118/0.7428, allocations: 7.928 MB / 0.5358 GB, free: 8.664 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/0.7428, allocations: 80 kB / 0.5359 GB, free: 8.586 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.7429, allocations: 172.9 kB / 0.536 GB, free: 8.418 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005504/0.7484, allocations: 2.118 MB / 0.5381 GB, free: 6.297 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004807/0.7532, allocations: 2.246 MB / 0.5403 GB, free: 4.047 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009966/0.7632, allocations: 6.807 MB / 0.5469 GB, free: 13.13 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005277/0.7685, allocations: 399.7 kB / 0.5473 GB, free: 12.74 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009466/0.7694, allocations: 448 kB / 0.5477 GB, free: 12.3 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 777 * 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 (1193): * Single equations (assignments): 1188 * 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 {(1,84,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002791/0.7722, allocations: 0.8829 MB / 0.5486 GB, free: 11.41 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/0.7734, allocations: 495.4 kB / 0.5491 GB, free: 10.92 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006949/0.7804, allocations: 3.74 MB / 0.5527 GB, free: 7.137 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-05/0.7804, allocations: 40 kB / 0.5528 GB, free: 7.098 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.7805, allocations: 19.83 kB / 0.5528 GB, free: 7.082 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/0.7805, allocations: 19.92 kB / 0.5528 GB, free: 7.062 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02496/0.8054, allocations: 12.29 MB / 0.5648 GB, free: 10.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-05/0.8055, allocations: 16.22 kB / 0.5648 GB, free: 10.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00215/0.8076, allocations: 0.629 MB / 0.5654 GB, free: 9.797 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007356/0.815, allocations: 2.16 MB / 0.5675 GB, free: 7.629 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007074/0.8157, allocations: 80 kB / 0.5676 GB, free: 7.551 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/0.8263, allocations: 6.065 MB / 0.5735 GB, free: 1.383 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/0.8263, allocations: 19.94 kB / 0.5736 GB, free: 1.363 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1492/0.9755, allocations: 5.297 MB / 0.5787 GB, free: 121.2 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/0.9775, allocations: 0.6681 MB / 0.5794 GB, free: 121.2 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/0.9789, allocations: 84.17 kB / 0.5795 GB, free: 121.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/0.9811, allocations: 93.61 kB / 0.5796 GB, free: 121.2 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007649/0.9818, allocations: 305.1 kB / 0.5798 GB, free: 121.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002968/0.9821, allocations: 96.39 kB / 0.5799 GB, free: 121.2 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003412/0.9855, allocations: 2.382 MB / 0.5823 GB, free: 121 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9855, allocations: 2.031 kB / 0.5823 GB, free: 121 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008043/0.9936, allocations: 2.563 MB / 0.5848 GB, free: 121 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (317): * Single equations (assignments): 313 * 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 {(1,73,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007882/0.9944, allocations: 289.9 kB / 0.585 GB, free: 120.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.006595/1.001, allocations: 4.843 MB / 0.5898 GB, free: 120.5 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0004133/1.001, allocations: 133.7 kB / 0.5899 GB, free: 120.5 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003348/1.005, allocations: 1.636 MB / 0.5915 GB, free: 120.2 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006564/1.011, allocations: 1.471 MB / 0.5929 GB, free: 120.1 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/1.038, allocations: 16.71 MB / 0.6093 GB, free: 111.4 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/1.042, allocations: 2.714 MB / 0.6119 GB, free: 110 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003631/1.045, allocations: 0.9001 MB / 0.6128 GB, free: 109.5 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003166/1.049, allocations: 1.12 MB / 0.6139 GB, free: 108.6 MB / 410.8 MB Notification: Performance of SimCode: time 1.743e-06/1.049, allocations: 0 / 0.6139 GB, free: 108.6 MB / 410.8 MB Notification: Performance of Templates: time 0.1138/1.162, allocations: 103 MB / 0.7144 GB, free: 8.266 MB / 410.8 MB " [Timeout remaining time 659] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.551153412088752]