Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009699, allocations: 98.55 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 177.5 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005008, allocations: 12 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.108, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.2824/0.3904, allocations: 97.89 MB / 426.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.05106/0.4415, allocations: 22.49 MB / 448.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02785/0.4694, allocations: 0.4987 MB / 449.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01826/0.4877, allocations: 4.907 MB / 454.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05027/0.538, allocations: 13.88 MB / 468 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01089/0.5489, allocations: 1.681 MB / 469.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1075/0.6565, allocations: 78.13 MB / 0.535 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3481/1.005, allocations: 12.67 MB / 0.5473 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00792/1.013, allocations: 2.642 MB / 0.5499 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009031/1.022, allocations: 3.548 MB / 0.5534 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003217/1.025, allocations: 340 kB / 0.5537 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00583/1.031, allocations: 1.298 MB / 0.555 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006256/1.037, allocations: 3.919 MB / 0.5588 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004632/1.042, allocations: 1.879 MB / 0.5606 GB, free: 81.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01906/1.061, allocations: 14.33 MB / 0.5746 GB, free: 76.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.061, allocations: 0 / 0.5746 GB, free: 76.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.965e-06/1.061, allocations: 6.5 kB / 0.5746 GB, free: 76.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009206/1.062, allocations: 0 / 0.5746 GB, free: 76.38 MB / 446.1 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.03547/1.097, allocations: 10.17 MB / 0.5846 GB, free: 70.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.097, allocations: 7.688 kB / 0.5846 GB, free: 70.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3348/1.432, allocations: 30.06 MB / 0.6139 GB, free: 45.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02901/1.461, allocations: 10.19 MB / 0.6239 GB, free: 38.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000599/1.462, allocations: 0.5201 MB / 0.6244 GB, free: 38.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004562/1.466, allocations: 0.7282 MB / 0.6251 GB, free: 37.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05087/1.517, allocations: 19.42 MB / 0.6441 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005206/1.518, allocations: 91.36 kB / 0.6442 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003517/1.521, allocations: 329.8 kB / 0.6445 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004389/1.526, allocations: 2.823 MB / 0.6472 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03847/1.564, allocations: 15.81 MB / 0.6627 GB, free: 9.898 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.3784/1.943, allocations: 73.07 MB / 0.734 GB, free: 150.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02317/1.966, allocations: 8.076 MB / 0.7419 GB, free: 149.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02698/1.993, allocations: 14.38 MB / 0.756 GB, free: 146.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.09e-05/1.993, allocations: 72.36 kB / 0.756 GB, free: 146.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=308): time 6.392e-06/1.993, allocations: 3.812 kB / 0.756 GB, free: 146.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=408): time 0.1632/2.156, allocations: 48.33 MB / 0.8032 GB, free: 119.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/2.157, allocations: 406.4 kB / 0.8036 GB, free: 118.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01468/2.171, allocations: 8.406 MB / 0.8118 GB, free: 110.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001311/2.173, allocations: 89.53 kB / 0.8119 GB, free: 110.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004205/2.177, allocations: 5.828 MB / 0.8176 GB, free: 104.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002231/2.179, allocations: 1.474 MB / 0.819 GB, free: 103.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006449/2.18, allocations: 187.9 kB / 0.8192 GB, free: 103 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004374/2.18, allocations: 0.6945 MB / 0.8199 GB, free: 102.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005804/2.186, allocations: 4.32 MB / 0.8241 GB, free: 97.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00799/2.194, allocations: 9.266 MB / 0.8332 GB, free: 86.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008356/2.203, allocations: 6.207 MB / 0.8392 GB, free: 80.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.905e-05/2.203, allocations: 48 kB / 0.8393 GB, free: 80.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.03489/2.238, allocations: 17.62 MB / 0.8565 GB, free: 63.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/2.238, allocations: 83.95 kB / 0.8566 GB, free: 62.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/2.238, allocations: 168 kB / 0.8567 GB, free: 62.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01512/2.253, allocations: 5.023 MB / 0.8616 GB, free: 57.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006967/2.26, allocations: 1.953 MB / 0.8635 GB, free: 55.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03597/2.296, allocations: 27.89 MB / 0.8908 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01067/2.307, allocations: 0.543 MB / 0.8913 GB, free: 27.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0022/2.309, allocations: 0.517 MB / 0.8918 GB, free: 26.71 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 780 * 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],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],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1050): * Single equations (assignments): 1045 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01092/2.32, allocations: 4.085 MB / 0.8958 GB, free: 22.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001957/2.322, allocations: 0.7135 MB / 0.8965 GB, free: 21.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0225/2.344, allocations: 11.41 MB / 0.9076 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-05/2.345, allocations: 40.94 kB / 0.9077 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.05e-05/2.345, allocations: 23.94 kB / 0.9077 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.731e-05/2.345, allocations: 19.94 kB / 0.9077 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2872/2.632, allocations: 24.7 MB / 0.9318 GB, free: 169.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/2.632, allocations: 7.844 kB / 0.9318 GB, free: 169.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/2.635, allocations: 0.5266 MB / 0.9324 GB, free: 169 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0138/2.648, allocations: 4.453 MB / 0.9367 GB, free: 168.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009118/2.649, allocations: 77.22 kB / 0.9368 GB, free: 168.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03264/2.682, allocations: 24.52 MB / 0.9607 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/2.682, allocations: 11.06 kB / 0.9607 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02857/2.711, allocations: 18.29 MB / 0.9786 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00549/2.716, allocations: 1.457 MB / 0.98 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002093/2.718, allocations: 74.41 kB / 0.9801 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004065/2.722, allocations: 264.2 kB / 0.9803 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008671/2.723, allocations: 291.3 kB / 0.9806 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002907/2.723, allocations: 108.6 kB / 0.9807 GB, free: 148 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008884/2.732, allocations: 5.505 MB / 0.9861 GB, free: 143.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/2.732, allocations: 2.219 kB / 0.9861 GB, free: 143.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01182/2.744, allocations: 2.234 MB / 0.9883 GB, free: 141.2 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 (284): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 108} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001215/2.745, allocations: 280.6 kB / 0.9886 GB, free: 140.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01553/2.761, allocations: 10.85 MB / 0.9991 GB, free: 131.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/2.761, allocations: 4 kB / 0.9992 GB, free: 131.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006058/2.767, allocations: 4.568 MB / 1.004 GB, free: 127 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006284/2.773, allocations: 1.052 MB / 1.005 GB, free: 126 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04317/2.817, allocations: 24.85 MB / 1.029 GB, free: 101.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007662/2.824, allocations: 6.577 MB / 1.035 GB, free: 94.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007419/2.832, allocations: 2.942 MB / 1.038 GB, free: 91.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/2.833, allocations: 447.4 kB / 1.039 GB, free: 91.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/2.833, allocations: 0 / 1.039 GB, free: 91.4 MB / 494.1 MB Notification: Performance of Templates: time 0.4062/3.239, allocations: 97.68 MB / 1.134 GB, free: 168.4 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches