Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001309/0.001309, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001416/0.001416, allocations: 165.3 kB / 24.5 MB, free: 3.453 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.463/1.463, allocations: 177.1 MB / 204.7 MB, free: 9 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 58.09 kB / 325.6 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.0958, allocations: 53.39 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.0208/0.1166, allocations: 17.64 MB / 396.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.1297, allocations: 5.989 MB / 402.6 MB, free: 7.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003456/0.1331, allocations: 206.8 kB / 402.8 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01251/0.1456, allocations: 6.164 MB / 408.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008956/0.1546, allocations: 3.517 MB / 412.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004013/0.1586, allocations: 1.669 MB / 414.1 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01967/0.1783, allocations: 12.99 MB / 427.1 MB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009807/0.1881, allocations: 6.263 MB / 433.4 MB, free: 8.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00695/0.195, allocations: 3.809 MB / 437.2 MB, free: 4.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00888/0.2039, allocations: 5.047 MB / 442.2 MB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002371/0.2063, allocations: 0.7461 MB / 443 MB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00459/0.2109, allocations: 1.6 MB / 444.6 MB, free: 13.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005793/0.2167, allocations: 4.504 MB / 449.1 MB, free: 9.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005402/0.2221, allocations: 3.543 MB / 452.6 MB, free: 5.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01742/0.2395, allocations: 14.25 MB / 466.9 MB, free: 7.195 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.2395, allocations: 4 kB / 466.9 MB, free: 7.191 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2395, allocations: 0 / 466.9 MB, free: 7.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004747/0.24, allocations: 0 / 466.9 MB, free: 7.191 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.3794/0.6194, allocations: 10.19 MB / 477.1 MB, free: 78.69 MB / 430.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.6195, allocations: 13.92 kB / 477.1 MB, free: 78.68 MB / 430.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04633/0.6658, allocations: 5.568 MB / 482.7 MB, free: 77.88 MB / 430.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/0.6838, allocations: 8.016 MB / 490.7 MB, free: 74.06 MB / 430.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.6841, allocations: 450.8 kB / 491.1 MB, free: 73.7 MB / 430.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/0.6859, allocations: 0.6131 MB / 491.7 MB, free: 73.13 MB / 430.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02501/0.7109, allocations: 17.46 MB / 0.4972 GB, free: 54.71 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002465/0.7112, allocations: 103.2 kB / 0.4973 GB, free: 54.61 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000697/0.7119, allocations: 279.8 kB / 0.4976 GB, free: 54.33 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00348/0.7154, allocations: 2.862 MB / 0.5004 GB, free: 51.47 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02494/0.7403, allocations: 14.02 MB / 0.5141 GB, free: 37.45 MB / 430.2 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.07939/0.8197, allocations: 63.38 MB / 0.576 GB, free: 4.941 MB / 462.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02251/0.8422, allocations: 7.795 MB / 0.5836 GB, free: 13.11 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006531/0.8487, allocations: 4.361 MB / 0.5879 GB, free: 8.738 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02226/0.871, allocations: 11.1 MB / 0.5987 GB, free: 13.7 MB / 494.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.348e-05/0.8711, allocations: 72.44 kB / 0.5988 GB, free: 13.62 MB / 494.2 MB Notification: Performance of pre-optimization done (n=293): time 6.482e-06/0.8711, allocations: 0 / 0.5988 GB, free: 13.62 MB / 494.2 MB Notification: Performance of matching and sorting (n=359): time 0.2114/1.082, allocations: 54.71 MB / 0.6522 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002575/1.083, allocations: 402.2 kB / 0.6526 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01493/1.098, allocations: 6.944 MB / 0.6594 GB, free: 15.59 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.0009487/1.099, allocations: 89.7 kB / 0.6594 GB, free: 15.5 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.005552/1.104, allocations: 5.412 MB / 0.6647 GB, free: 10.05 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.002347/1.106, allocations: 1.383 MB / 0.6661 GB, free: 8.652 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006668/1.113, allocations: 1.928 MB / 0.668 GB, free: 6.711 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 0.0002201/1.113, allocations: 305.1 kB / 0.6683 GB, free: 6.41 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008744/1.122, allocations: 4.713 MB / 0.6729 GB, free: 1.691 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2169/1.339, allocations: 9.761 MB / 0.6824 GB, free: 180.6 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01843/1.357, allocations: 15 MB / 0.697 GB, free: 170.5 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003808/1.358, allocations: 47.53 kB / 0.6971 GB, free: 170.5 MB / 0.5451 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.04236/1.4, allocations: 20.36 MB / 0.717 GB, free: 163.2 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 0.000415/1.401, allocations: 76 kB / 0.717 GB, free: 163.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004461/1.401, allocations: 164 kB / 0.7172 GB, free: 163 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02114/1.422, allocations: 7.332 MB / 0.7244 GB, free: 157 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006318/1.429, allocations: 1.996 MB / 0.7263 GB, free: 155 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04429/1.473, allocations: 35.81 MB / 0.7613 GB, free: 119.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008319/1.481, allocations: 0.6103 MB / 0.7619 GB, free: 118.6 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/1.483, allocations: 0.4975 MB / 0.7624 GB, free: 118.1 MB / 0.5451 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],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 (1081): * Single equations (assignments): 1075 * 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,96,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.005995/1.489, allocations: 3.596 MB / 0.7659 GB, free: 114.6 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/1.49, allocations: 0.6376 MB / 0.7665 GB, free: 114.3 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02695/1.517, allocations: 13.8 MB / 0.78 GB, free: 100.4 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.934e-05/1.517, allocations: 43.94 kB / 0.78 GB, free: 100.4 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.595e-05/1.517, allocations: 20 kB / 0.78 GB, free: 100.4 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.206e-05/1.517, allocations: 15.94 kB / 0.7801 GB, free: 100.4 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05023/1.568, allocations: 25.23 MB / 0.8047 GB, free: 74.88 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-05/1.568, allocations: 12.03 kB / 0.8047 GB, free: 74.86 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002132/1.57, allocations: 463.3 kB / 0.8051 GB, free: 74.41 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01926/1.589, allocations: 6.965 MB / 0.8119 GB, free: 67.43 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006973/1.59, allocations: 66.39 kB / 0.812 GB, free: 67.37 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04045/1.63, allocations: 34.61 MB / 0.8458 GB, free: 32.69 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/1.63, allocations: 11.94 kB / 0.8458 GB, free: 32.68 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03388/1.664, allocations: 19.6 MB / 0.865 GB, free: 13.08 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/1.666, allocations: 0.6016 MB / 0.8656 GB, free: 12.48 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002017/1.668, allocations: 65.08 kB / 0.8656 GB, free: 12.42 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004775/1.673, allocations: 319.5 kB / 0.8659 GB, free: 12.11 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001302/1.674, allocations: 270.6 kB / 0.8662 GB, free: 11.84 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006364/1.675, allocations: 99.88 kB / 0.8663 GB, free: 11.75 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.006538/1.681, allocations: 4.224 MB / 0.8704 GB, free: 7.539 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.2e-07/1.681, allocations: 0 / 0.8704 GB, free: 7.539 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.01041/1.692, allocations: 2.197 MB / 0.8725 GB, free: 5.352 MB / 0.5451 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (231): * Single equations (assignments): 225 * 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,90,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.00105/1.693, allocations: 211.7 kB / 0.8727 GB, free: 5.148 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.2137/1.906, allocations: 11.51 MB / 0.884 GB, free: 179.3 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/1.906, allocations: 2.25 kB / 0.884 GB, free: 179.3 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.009295/1.916, allocations: 4.91 MB / 0.8888 GB, free: 178.7 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005798/1.921, allocations: 0.9185 MB / 0.8897 GB, free: 178.4 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03441/1.956, allocations: 20.71 MB / 0.9099 GB, free: 168.8 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007778/1.964, allocations: 5.26 MB / 0.915 GB, free: 165 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.005717/1.969, allocations: 2.64 MB / 0.9176 GB, free: 163.5 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/1.971, allocations: 375.1 kB / 0.918 GB, free: 163.1 MB / 0.5451 GB Notification: Performance of SimCode: time 1.183e-06/1.971, allocations: 0 / 0.918 GB, free: 163.1 MB / 0.5451 GB Notification: Performance of Templates: time 0.1481/2.119, allocations: 95 MB / 1.011 GB, free: 69.18 MB / 0.5451 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.153225371032022]