Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.519/1.519, allocations: 230.4 MB / 251.1 MB, free: 8.426 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 75.75 kB / 369 MB, free: 6.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2517, allocations: 53.31 MB / 422.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02173/0.2734, allocations: 19.46 MB / 441.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.287, allocations: 5.993 MB / 447.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003749/0.2907, allocations: 155.4 kB / 447.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01138/0.3021, allocations: 5.907 MB / 453.8 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008584/0.3107, allocations: 3.397 MB / 457.2 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.3143, allocations: 1.572 MB / 458.8 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0181/0.3324, allocations: 12.68 MB / 471.4 MB, free: 6.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008729/0.3411, allocations: 6.409 MB / 477.9 MB, free: 0 / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006589/0.3477, allocations: 3.587 MB / 481.4 MB, free: 12.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0084/0.3561, allocations: 5.122 MB / 486.6 MB, free: 7.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002701/0.3588, allocations: 0.7148 MB / 487.3 MB, free: 6.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005132/0.3639, allocations: 1.701 MB / 489 MB, free: 4.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006106/0.37, allocations: 4.317 MB / 493.3 MB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007207/0.3772, allocations: 4.452 MB / 497.7 MB, free: 12.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01863/0.3958, allocations: 13.65 MB / 0.4994 GB, free: 14.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3959, allocations: 0 / 0.4994 GB, free: 14.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3959, allocations: 0 / 0.4994 GB, free: 14.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005046/0.3964, allocations: 0 / 0.4994 GB, free: 14.34 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.02466/0.421, allocations: 9.895 MB / 0.5091 GB, free: 4.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4211, allocations: 16.02 kB / 0.5091 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04076/0.4618, allocations: 5.293 MB / 0.5143 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/0.4813, allocations: 7.933 MB / 0.522 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/0.4817, allocations: 423.4 kB / 0.5224 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.4836, allocations: 0.5932 MB / 0.523 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03001/0.5136, allocations: 16.56 MB / 0.5392 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002591/0.5139, allocations: 91.36 kB / 0.5392 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007147/0.5146, allocations: 263.8 kB / 0.5395 GB, free: 4.055 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004499/0.5191, allocations: 2.768 MB / 0.5422 GB, free: 1.273 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4371/0.9562, allocations: 13.63 MB / 0.5555 GB, free: 102.4 MB / 462.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.07117/1.027, allocations: 67.84 MB / 0.6218 GB, free: 38.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/1.045, allocations: 7.665 MB / 0.6292 GB, free: 30.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004636/1.05, allocations: 4.236 MB / 0.6334 GB, free: 26.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01757/1.067, allocations: 12.42 MB / 0.6455 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/1.067, allocations: 60.5 kB / 0.6456 GB, free: 13.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 5.701e-06/1.067, allocations: 0 / 0.6456 GB, free: 13.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1747/1.242, allocations: 50.46 MB / 0.6948 GB, free: 11.66 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000244/1.242, allocations: 402 kB / 0.6952 GB, free: 11.18 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01141/1.254, allocations: 7.125 MB / 0.7022 GB, free: 4.176 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/1.255, allocations: 80.23 kB / 0.7023 GB, free: 4.094 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004579/1.259, allocations: 5.196 MB / 0.7073 GB, free: 15.04 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002148/1.261, allocations: 1.31 MB / 0.7086 GB, free: 13.71 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003342/1.265, allocations: 1.873 MB / 0.7104 GB, free: 11.83 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.265, allocations: 305.1 kB / 0.7107 GB, free: 11.53 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007029/1.272, allocations: 4.547 MB / 0.7152 GB, free: 6.973 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01178/1.284, allocations: 9.267 MB / 0.7242 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02186/1.306, allocations: 14.53 MB / 0.7384 GB, free: 10.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001847/1.306, allocations: 48 kB / 0.7385 GB, free: 10.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.2969/1.603, allocations: 19.72 MB / 0.7577 GB, free: 177.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/1.603, allocations: 73.25 kB / 0.7578 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/1.603, allocations: 159.6 kB / 0.7579 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01809/1.621, allocations: 7.056 MB / 0.7648 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006389/1.627, allocations: 1.928 MB / 0.7667 GB, free: 176.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03846/1.666, allocations: 35.33 MB / 0.8012 GB, free: 153.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00869/1.675, allocations: 0.5827 MB / 0.8018 GB, free: 152.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001926/1.677, allocations: 0.4961 MB / 0.8023 GB, free: 152.2 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.005501/1.682, allocations: 3.467 MB / 0.8057 GB, free: 148.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/1.684, allocations: 0.667 MB / 0.8063 GB, free: 148.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02357/1.707, allocations: 13.24 MB / 0.8192 GB, free: 135.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.048e-05/1.707, allocations: 32 kB / 0.8193 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.097e-05/1.707, allocations: 20 kB / 0.8193 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-05/1.707, allocations: 15.94 kB / 0.8193 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04172/1.749, allocations: 26.5 MB / 0.8452 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.954e-05/1.749, allocations: 8.75 kB / 0.8452 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/1.751, allocations: 423.2 kB / 0.8456 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01717/1.768, allocations: 6.651 MB / 0.8521 GB, free: 101.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008125/1.769, allocations: 64 kB / 0.8522 GB, free: 101.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03568/1.804, allocations: 34 MB / 0.8854 GB, free: 67.06 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.804, allocations: 11.94 kB / 0.8854 GB, free: 67.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02878/1.833, allocations: 18.73 MB / 0.9037 GB, free: 48.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/1.835, allocations: 0.7229 MB / 0.9044 GB, free: 47.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/1.837, allocations: 63.98 kB / 0.9044 GB, free: 47.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00407/1.841, allocations: 307.6 kB / 0.9047 GB, free: 47.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/1.842, allocations: 242.6 kB / 0.9049 GB, free: 47.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002939/1.843, allocations: 87.59 kB / 0.905 GB, free: 47.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007143/1.85, allocations: 4.555 MB / 0.9095 GB, free: 42.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/1.85, allocations: 0 / 0.9095 GB, free: 42.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0118/1.862, allocations: 2.123 MB / 0.9116 GB, free: 40.44 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.0009406/1.862, allocations: 212.5 kB / 0.9118 GB, free: 40.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01546/1.878, allocations: 11.1 MB / 0.9226 GB, free: 29.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.878, allocations: 8.062 kB / 0.9226 GB, free: 29.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006855/1.885, allocations: 4.672 MB / 0.9272 GB, free: 24.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005759/1.891, allocations: 0.9823 MB / 0.9281 GB, free: 23.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/1.922, allocations: 19.95 MB / 0.9476 GB, free: 3.324 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2352/2.157, allocations: 5.524 MB / 0.953 GB, free: 186.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007184/2.165, allocations: 2.609 MB / 0.9555 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/2.166, allocations: 390.1 kB / 0.9559 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.192e-06/2.166, allocations: 0 / 0.9559 GB, free: 186.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.1454/2.311, allocations: 96.35 MB / 1.05 GB, free: 114.8 MB / 0.5607 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches