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.001796/0.001796, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002123/0.002123, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.41/1.41, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.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.001565/0.001565, allocations: 55.56 kB / 325.6 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08805/0.08961, allocations: 53.34 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02006/0.1097, allocations: 16.72 MB / 395.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.122, allocations: 5.806 MB / 401.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.1244, allocations: 186.9 kB / 401.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01119/0.1356, allocations: 5.681 MB / 407.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008497/0.1441, allocations: 3.424 MB / 410.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.1475, allocations: 1.568 MB / 412.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01775/0.1652, allocations: 12.7 MB / 425 MB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007276/0.1725, allocations: 5.919 MB / 430.9 MB, free: 11.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005615/0.1781, allocations: 3.63 MB / 434.6 MB, free: 7.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00765/0.1858, allocations: 4.841 MB / 439.4 MB, free: 2.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.1877, allocations: 0.7148 MB / 440.1 MB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003575/0.1912, allocations: 1.561 MB / 441.7 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004699/0.1959, allocations: 4.305 MB / 446 MB, free: 12.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004618/0.2006, allocations: 3.403 MB / 449.4 MB, free: 8.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0156/0.2162, allocations: 13.73 MB / 463.1 MB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.2162, allocations: 3.984 kB / 463.1 MB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2162, allocations: 0 / 463.1 MB, free: 11.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002884/0.2165, allocations: 4 kB / 463.1 MB, free: 11.13 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02135/0.2378, allocations: 9.827 MB / 472.9 MB, free: 1.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2378, allocations: 8.031 kB / 473 MB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3606/0.5985, allocations: 5.515 MB / 478.5 MB, free: 79.46 MB / 430.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01661/0.6151, allocations: 7.842 MB / 486.3 MB, free: 77.25 MB / 430.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/0.6154, allocations: 433.6 kB / 486.7 MB, free: 77.1 MB / 430.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.6166, allocations: 0.5792 MB / 487.3 MB, free: 76.93 MB / 430.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/0.6367, allocations: 16.83 MB / 0.4923 GB, free: 61.24 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/0.6369, allocations: 100 kB / 0.4924 GB, free: 61.14 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005684/0.6375, allocations: 266.9 kB / 0.4927 GB, free: 60.93 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003312/0.6408, allocations: 2.762 MB / 0.4954 GB, free: 58.18 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02144/0.6623, allocations: 13.62 MB / 0.5087 GB, free: 44.57 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.06352/0.7258, allocations: 61.62 MB / 0.5688 GB, free: 13.92 MB / 462.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02063/0.7464, allocations: 7.457 MB / 0.5761 GB, free: 6.426 MB / 462.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00595/0.7524, allocations: 4.258 MB / 0.5803 GB, free: 2.164 MB / 462.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01812/0.7705, allocations: 10.77 MB / 0.5908 GB, free: 7.484 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/0.7705, allocations: 64.56 kB / 0.5909 GB, free: 7.414 MB / 478.2 MB Notification: Performance of pre-optimization done (n=280): time 5.47e-06/0.7705, allocations: 0 / 0.5909 GB, free: 7.414 MB / 478.2 MB Notification: Performance of matching and sorting (n=339): time 0.1928/0.9633, allocations: 52.25 MB / 0.6419 GB, free: 3.477 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000239/0.9636, allocations: 398.1 kB / 0.6423 GB, free: 3 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/0.9739, allocations: 6.77 MB / 0.6489 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005639/0.9744, allocations: 77.7 kB / 0.649 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004181/0.9786, allocations: 5.216 MB / 0.654 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001907/0.9805, allocations: 1.325 MB / 0.6553 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003049/0.9836, allocations: 1.869 MB / 0.6572 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9837, allocations: 309.1 kB / 0.6575 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007226/0.9909, allocations: 4.543 MB / 0.6619 GB, free: 14.82 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01163/1.003, allocations: 9.489 MB / 0.6712 GB, free: 2.984 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1995/1.202, allocations: 14.54 MB / 0.6854 GB, free: 172.4 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001357/1.202, allocations: 49.12 kB / 0.6854 GB, free: 172.4 MB / 0.5451 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.03499/1.237, allocations: 19.65 MB / 0.7046 GB, free: 166.3 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/1.237, allocations: 82.47 kB / 0.7047 GB, free: 166.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/1.237, allocations: 161.9 kB / 0.7048 GB, free: 166.2 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0185/1.256, allocations: 7.051 MB / 0.7117 GB, free: 165 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005226/1.261, allocations: 1.92 MB / 0.7136 GB, free: 164.6 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03673/1.298, allocations: 34.59 MB / 0.7474 GB, free: 129.9 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006727/1.305, allocations: 0.5806 MB / 0.7479 GB, free: 129.4 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009063/1.305, allocations: 0.4922 MB / 0.7484 GB, free: 128.9 MB / 0.5451 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.004089/1.31, allocations: 3.47 MB / 0.7518 GB, free: 125.5 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.311, allocations: 0.6209 MB / 0.7524 GB, free: 125.2 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02441/1.335, allocations: 13.19 MB / 0.7653 GB, free: 112 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.266e-05/1.335, allocations: 43.94 kB / 0.7653 GB, free: 111.9 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-05/1.335, allocations: 20 kB / 0.7654 GB, free: 111.9 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.612e-05/1.335, allocations: 11.95 kB / 0.7654 GB, free: 111.9 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03946/1.375, allocations: 24.14 MB / 0.7889 GB, free: 87.5 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-05/1.375, allocations: 9.344 kB / 0.7889 GB, free: 87.49 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/1.376, allocations: 419.4 kB / 0.7893 GB, free: 87.08 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0182/1.395, allocations: 6.643 MB / 0.7958 GB, free: 80.42 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004886/1.395, allocations: 65.05 kB / 0.7959 GB, free: 80.36 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03658/1.432, allocations: 33.28 MB / 0.8284 GB, free: 47.02 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.432, allocations: 11.94 kB / 0.8284 GB, free: 47 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03023/1.462, allocations: 18.67 MB / 0.8466 GB, free: 28.23 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/1.464, allocations: 0.5971 MB / 0.8472 GB, free: 27.63 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/1.465, allocations: 60.06 kB / 0.8473 GB, free: 27.57 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003634/1.469, allocations: 307.5 kB / 0.8476 GB, free: 27.27 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007849/1.469, allocations: 254.5 kB / 0.8478 GB, free: 27.02 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/1.47, allocations: 88 kB / 0.8479 GB, free: 26.94 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.004511/1.474, allocations: 4.114 MB / 0.8519 GB, free: 22.84 MB / 0.5451 GB Notification: Performance of sort global known variables: time 8e-08/1.474, allocations: 0 / 0.8519 GB, free: 22.84 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.006692/1.481, allocations: 2.112 MB / 0.854 GB, free: 20.73 MB / 0.5451 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.0005077/1.481, allocations: 217.3 kB / 0.8542 GB, free: 20.53 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01494/1.496, allocations: 11.09 MB / 0.865 GB, free: 9.395 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.496, allocations: 3.938 kB / 0.865 GB, free: 9.391 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.007263/1.504, allocations: 4.664 MB / 0.8696 GB, free: 4.68 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004759/1.508, allocations: 0.8937 MB / 0.8705 GB, free: 3.797 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2127/1.721, allocations: 19.88 MB / 0.8899 GB, free: 187.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00619/1.727, allocations: 5.061 MB / 0.8948 GB, free: 187.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005003/1.732, allocations: 2.545 MB / 0.8973 GB, free: 187.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009435/1.733, allocations: 365.6 kB / 0.8976 GB, free: 187.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.252e-06/1.733, allocations: 3.125 kB / 0.8976 GB, free: 187.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.1192/1.852, allocations: 90.52 MB / 0.986 GB, free: 110 MB / 0.5607 GB " [Timeout remaining time 658] 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 ida -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: 8.638759894063696]