Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002169/0.002169, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 51.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2289, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02171/0.2506, allocations: 19.54 MB / 440.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.2631, allocations: 6.01 MB / 446.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.2656, allocations: 155.4 kB / 446.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01097/0.2765, allocations: 5.946 MB / 452.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009854/0.2864, allocations: 3.432 MB / 456 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004339/0.2907, allocations: 1.576 MB / 457.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01764/0.3084, allocations: 12.36 MB / 469.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007501/0.3159, allocations: 5.437 MB / 475.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006747/0.3226, allocations: 3.595 MB / 478.9 MB, free: 4.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007883/0.3305, allocations: 5.122 MB / 484.1 MB, free: 15.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001672/0.3322, allocations: 0.7109 MB / 484.8 MB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.3355, allocations: 1.732 MB / 486.5 MB, free: 13.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004416/0.3399, allocations: 4.34 MB / 490.8 MB, free: 8.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00533/0.3452, allocations: 4.468 MB / 495.3 MB, free: 4.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01713/0.3623, allocations: 13.71 MB / 0.4971 GB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3623, allocations: 3.938 kB / 0.4971 GB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3623, allocations: 0 / 0.4971 GB, free: 6.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003391/0.3627, allocations: 0 / 0.4971 GB, free: 6.645 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.02201/0.3847, allocations: 9.918 MB / 0.5068 GB, free: 12.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3847, allocations: 8.031 kB / 0.5068 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0419/0.4266, allocations: 5.293 MB / 0.512 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01965/0.4463, allocations: 8.093 MB / 0.5199 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003829/0.4467, allocations: 427.4 kB / 0.5203 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001768/0.4484, allocations: 0.5894 MB / 0.5208 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3836/0.832, allocations: 16.54 MB / 0.537 GB, free: 96.05 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004917/0.8325, allocations: 101.3 kB / 0.5371 GB, free: 96.02 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001496/0.834, allocations: 267 kB / 0.5373 GB, free: 95.96 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003963/0.838, allocations: 2.766 MB / 0.54 GB, free: 95.46 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/0.8622, allocations: 13.63 MB / 0.5534 GB, free: 90.02 MB / 446.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.06605/0.9282, allocations: 67.86 MB / 0.6196 GB, free: 22.9 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01649/0.9447, allocations: 7.676 MB / 0.6271 GB, free: 15.08 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003951/0.9487, allocations: 4.229 MB / 0.6312 GB, free: 10.84 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0148/0.9635, allocations: 12.42 MB / 0.6434 GB, free: 14.36 MB / 462.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.293e-05/0.9635, allocations: 68.5 kB / 0.6434 GB, free: 14.28 MB / 462.2 MB Notification: Performance of pre-optimization done (n=280): time 4.879e-06/0.9635, allocations: 4 kB / 0.6434 GB, free: 14.28 MB / 462.2 MB Notification: Performance of matching and sorting (n=339): time 0.1788/1.142, allocations: 50.47 MB / 0.6927 GB, free: 12.24 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002455/1.143, allocations: 398 kB / 0.6931 GB, free: 11.76 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/1.155, allocations: 7.136 MB / 0.7001 GB, free: 4.75 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008342/1.156, allocations: 77.7 kB / 0.7002 GB, free: 4.668 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.005164/1.161, allocations: 5.192 MB / 0.7052 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002207/1.163, allocations: 1.318 MB / 0.7065 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003545/1.167, allocations: 1.877 MB / 0.7084 GB, free: 12.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.167, allocations: 301.1 kB / 0.7086 GB, free: 12.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007521/1.175, allocations: 4.543 MB / 0.7131 GB, free: 7.551 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01177/1.186, allocations: 9.267 MB / 0.7221 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2205/1.407, allocations: 14.53 MB / 0.7363 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001477/1.407, allocations: 46.69 kB / 0.7364 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.03697/1.444, allocations: 19.71 MB / 0.7556 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/1.444, allocations: 73.31 kB / 0.7557 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/1.444, allocations: 160.8 kB / 0.7558 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01778/1.462, allocations: 7.051 MB / 0.7627 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005457/1.467, allocations: 1.933 MB / 0.7646 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03868/1.506, allocations: 35.33 MB / 0.7991 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007299/1.513, allocations: 0.5913 MB / 0.7997 GB, free: 129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/1.515, allocations: 496 kB / 0.8002 GB, free: 128.5 MB / 0.5294 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.004831/1.519, allocations: 3.468 MB / 0.8035 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/1.521, allocations: 0.6688 MB / 0.8042 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.024/1.545, allocations: 13.24 MB / 0.8171 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.314e-05/1.545, allocations: 35.05 kB / 0.8172 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.76e-05/1.545, allocations: 22.06 kB / 0.8172 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-05/1.545, allocations: 15.94 kB / 0.8172 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04148/1.586, allocations: 26.5 MB / 0.8431 GB, free: 84.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.342e-05/1.586, allocations: 4 kB / 0.8431 GB, free: 84.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/1.588, allocations: 427.5 kB / 0.8435 GB, free: 84.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01651/1.605, allocations: 6.643 MB / 0.85 GB, free: 77.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005437/1.605, allocations: 63.98 kB / 0.85 GB, free: 77.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03558/1.641, allocations: 34.01 MB / 0.8832 GB, free: 43.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.641, allocations: 8 kB / 0.8833 GB, free: 43.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02926/1.67, allocations: 18.74 MB / 0.9016 GB, free: 24.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.672, allocations: 0.7198 MB / 0.9023 GB, free: 23.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/1.673, allocations: 68.17 kB / 0.9023 GB, free: 23.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003015/1.676, allocations: 315.5 kB / 0.9026 GB, free: 23.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008953/1.677, allocations: 230.7 kB / 0.9028 GB, free: 22.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002826/1.677, allocations: 95.98 kB / 0.9029 GB, free: 22.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005909/1.683, allocations: 4.555 MB / 0.9074 GB, free: 18.31 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.683, allocations: 0 / 0.9074 GB, free: 18.31 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008296/1.691, allocations: 2.139 MB / 0.9095 GB, free: 16.18 MB / 0.5294 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.0005989/1.692, allocations: 219.4 kB / 0.9097 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01562/1.707, allocations: 11.1 MB / 0.9205 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/1.707, allocations: 4 kB / 0.9205 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007089/1.715, allocations: 4.666 MB / 0.9251 GB, free: 116 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005889/1.72, allocations: 0.9931 MB / 0.926 GB, free: 15.13 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2394/1.96, allocations: 19.96 MB / 0.9455 GB, free: 181.9 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005446/1.965, allocations: 5.523 MB / 0.9509 GB, free: 181 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.005031/1.97, allocations: 2.602 MB / 0.9535 GB, free: 180.9 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009383/1.971, allocations: 387.9 kB / 0.9538 GB, free: 180.9 MB / 0.5451 GB Notification: Performance of SimCode: time 8.82e-07/1.971, allocations: 7.438 kB / 0.9538 GB, free: 180.9 MB / 0.5451 GB Notification: Performance of Templates: time 0.1588/2.13, allocations: 94.34 MB / 1.046 GB, free: 96.66 MB / 0.5451 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.824639300815761]