Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 209 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.628/1.628, allocations: 230.6 MB / 258.3 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 47.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3375, allocations: 53.37 MB / 432.4 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02408/0.3615, allocations: 16.72 MB / 449.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.3798, allocations: 5.802 MB / 454.9 MB, free: 68 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006524/0.3863, allocations: 191 kB / 455.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01378/0.4001, allocations: 5.677 MB / 460.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01278/0.4129, allocations: 3.424 MB / 464.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006119/0.419, allocations: 1.568 MB / 465.7 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0245/0.4435, allocations: 12.71 MB / 478.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01199/0.4555, allocations: 5.943 MB / 484.4 MB, free: 2.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01088/0.4664, allocations: 3.634 MB / 488 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.012/0.4784, allocations: 5.122 MB / 493.1 MB, free: 9.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003772/0.4821, allocations: 0.7148 MB / 493.9 MB, free: 8.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006032/0.4882, allocations: 1.577 MB / 495.4 MB, free: 7.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00806/0.4962, allocations: 4.321 MB / 499.8 MB, free: 3.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008752/0.505, allocations: 3.392 MB / 0.4914 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02281/0.5278, allocations: 13.73 MB / 0.5048 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.5278, allocations: 0 / 0.5048 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5278, allocations: 0 / 0.5048 GB, free: 1.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004437/0.5283, allocations: 4 kB / 0.5048 GB, free: 1.816 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02677/0.555, allocations: 9.835 MB / 0.5144 GB, free: 7.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5551, allocations: 12.03 kB / 0.5144 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04268/0.5978, allocations: 5.281 MB / 0.5195 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02178/0.6195, allocations: 7.846 MB / 0.5272 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005135/0.62, allocations: 423.4 kB / 0.5276 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002736/0.6228, allocations: 0.5894 MB / 0.5282 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6951/1.318, allocations: 16.81 MB / 0.5446 GB, free: 89.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005289/1.318, allocations: 99.78 kB / 0.5447 GB, free: 89.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001874/1.32, allocations: 266.4 kB / 0.5449 GB, free: 89.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004536/1.325, allocations: 2.76 MB / 0.5476 GB, free: 89.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02803/1.353, allocations: 13.6 MB / 0.5609 GB, free: 81.11 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.08584/1.439, allocations: 61.43 MB / 0.6209 GB, free: 19.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/1.457, allocations: 7.199 MB / 0.6279 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005152/1.462, allocations: 4.248 MB / 0.6321 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02419/1.486, allocations: 10.72 MB / 0.6426 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/1.487, allocations: 64.56 kB / 0.6426 GB, free: 13.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 8.146e-06/1.487, allocations: 3.938 kB / 0.6426 GB, free: 13.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.2112/1.698, allocations: 50.46 MB / 0.6919 GB, free: 11.21 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003269/1.698, allocations: 402.1 kB / 0.6923 GB, free: 10.73 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.017/1.715, allocations: 6.762 MB / 0.6989 GB, free: 4.164 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001361/1.716, allocations: 73.7 kB / 0.699 GB, free: 4.086 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.006086/1.723, allocations: 5.234 MB / 0.7041 GB, free: 14.95 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002936/1.725, allocations: 1.314 MB / 0.7053 GB, free: 13.62 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004139/1.73, allocations: 1.873 MB / 0.7072 GB, free: 11.74 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.73, allocations: 301.1 kB / 0.7075 GB, free: 11.44 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00816/1.738, allocations: 4.543 MB / 0.7119 GB, free: 6.891 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01424/1.752, allocations: 9.493 MB / 0.7212 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02549/1.778, allocations: 14.54 MB / 0.7354 GB, free: 10.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003198/1.778, allocations: 48 kB / 0.7354 GB, free: 10.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.4131/2.191, allocations: 19.67 MB / 0.7546 GB, free: 179.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/2.191, allocations: 76.34 kB / 0.7547 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002311/2.191, allocations: 159.4 kB / 0.7548 GB, free: 179.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02177/2.213, allocations: 7.04 MB / 0.7617 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007244/2.22, allocations: 1.936 MB / 0.7636 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04528/2.266, allocations: 34.57 MB / 0.7974 GB, free: 153 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008104/2.274, allocations: 0.58 MB / 0.7979 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001911/2.276, allocations: 500 kB / 0.7984 GB, free: 151.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.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 (1048): * Single equations (assignments): 1042 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.006758/2.283, allocations: 3.471 MB / 0.8018 GB, free: 148.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001987/2.285, allocations: 0.6241 MB / 0.8024 GB, free: 148.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0273/2.312, allocations: 13.18 MB / 0.8153 GB, free: 135.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.127e-05/2.312, allocations: 39.67 kB / 0.8153 GB, free: 135.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-05/2.312, allocations: 22.25 kB / 0.8154 GB, free: 135.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.714e-05/2.312, allocations: 22.28 kB / 0.8154 GB, free: 135 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05313/2.365, allocations: 24.11 MB / 0.8389 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.551e-05/2.365, allocations: 8.125 kB / 0.8389 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/2.368, allocations: 419.4 kB / 0.8393 GB, free: 110.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02034/2.388, allocations: 6.647 MB / 0.8458 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00107/2.389, allocations: 60 kB / 0.8459 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04262/2.432, allocations: 33.27 MB / 0.8784 GB, free: 70.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/2.432, allocations: 11.94 kB / 0.8784 GB, free: 70.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03368/2.466, allocations: 18.68 MB / 0.8966 GB, free: 51.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/2.468, allocations: 0.5917 MB / 0.8972 GB, free: 51.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002585/2.471, allocations: 67.92 kB / 0.8973 GB, free: 51.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005319/2.476, allocations: 307.8 kB / 0.8976 GB, free: 50.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001593/2.478, allocations: 250.4 kB / 0.8978 GB, free: 50.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008104/2.478, allocations: 96 kB / 0.8979 GB, free: 50.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008503/2.487, allocations: 4.11 MB / 0.9019 GB, free: 46.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/2.487, allocations: 1.969 kB / 0.9019 GB, free: 46.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01383/2.501, allocations: 2.11 MB / 0.904 GB, free: 44.37 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/2.502, allocations: 212.8 kB / 0.9042 GB, free: 44.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02009/2.522, allocations: 11.1 MB / 0.915 GB, free: 33.03 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/2.522, allocations: 4 kB / 0.915 GB, free: 33.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009441/2.532, allocations: 4.661 MB / 0.9196 GB, free: 28.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/2.543, allocations: 0.8968 MB / 0.9204 GB, free: 27.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04867/2.591, allocations: 19.9 MB / 0.9399 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008591/2.6, allocations: 5.06 MB / 0.9448 GB, free: 2.312 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006304/2.606, allocations: 2.535 MB / 0.9473 GB, free: 15.77 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/2.608, allocations: 371.3 kB / 0.9476 GB, free: 15.41 MB / 0.5607 GB Notification: Performance of SimCode: time 1.814e-06/2.608, allocations: 0 / 0.9476 GB, free: 15.41 MB / 0.5607 GB Notification: Performance of Templates: time 0.5505/3.158, allocations: 99.38 MB / 1.045 GB, free: 117.2 MB / 0.5607 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 10.862125150990323]