Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001567/0.001572, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001876/0.001876, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 59.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2379, allocations: 50.54 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.0192/0.2571, allocations: 19.37 MB / 428.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.2704, allocations: 5.977 MB / 434.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004892/0.2754, allocations: 155.5 kB / 434.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.2863, allocations: 5.837 MB / 440.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007572/0.2939, allocations: 3.303 MB / 443.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.297, allocations: 1.564 MB / 445.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01531/0.3123, allocations: 12.67 MB / 458.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008911/0.3212, allocations: 7.648 MB / 465.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005415/0.3267, allocations: 3.568 MB / 469.4 MB, free: 5.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006945/0.3337, allocations: 4.744 MB / 474.1 MB, free: 488 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002074/0.3358, allocations: 0.7188 MB / 474.8 MB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00412/0.3399, allocations: 1.666 MB / 476.5 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004533/0.3444, allocations: 4.248 MB / 480.7 MB, free: 9.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006252/0.3507, allocations: 4.444 MB / 485.2 MB, free: 5.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.3651, allocations: 13.61 MB / 498.8 MB, free: 7.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3652, allocations: 0 / 498.8 MB, free: 7.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3652, allocations: 0 / 498.8 MB, free: 7.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003796/0.3656, allocations: 0 / 498.8 MB, free: 7.711 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.01994/0.3855, allocations: 9.645 MB / 0.4965 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3856, allocations: 12.03 kB / 0.4965 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04497/0.4305, allocations: 5.24 MB / 0.5016 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01793/0.4485, allocations: 7.882 MB / 0.5093 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.4489, allocations: 427.4 kB / 0.5097 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/0.4509, allocations: 0.5853 MB / 0.5103 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03033/0.4812, allocations: 16.57 MB / 0.5265 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000283/0.4816, allocations: 99.19 kB / 0.5266 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007855/0.4824, allocations: 267.8 kB / 0.5268 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004109/0.4865, allocations: 2.76 MB / 0.5295 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4153/0.9018, allocations: 13.62 MB / 0.5428 GB, free: 112.9 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.06679/0.9686, allocations: 67.73 MB / 0.609 GB, free: 56.47 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/0.9862, allocations: 7.912 MB / 0.6167 GB, free: 48.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004122/0.9903, allocations: 4.517 MB / 0.6211 GB, free: 43.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/1.005, allocations: 12.4 MB / 0.6332 GB, free: 31.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.005, allocations: 64.56 kB / 0.6333 GB, free: 31.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 5.79e-06/1.005, allocations: 0 / 0.6333 GB, free: 31.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1703/1.175, allocations: 50.13 MB / 0.6822 GB, free: 13.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001942/1.176, allocations: 402.1 kB / 0.6826 GB, free: 12.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009454/1.185, allocations: 7.103 MB / 0.6896 GB, free: 5.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007766/1.186, allocations: 77.7 kB / 0.6896 GB, free: 5.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003312/1.189, allocations: 5.027 MB / 0.6946 GB, free: 0.582 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001465/1.191, allocations: 1.253 MB / 0.6958 GB, free: 15.31 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002491/1.193, allocations: 1.86 MB / 0.6976 GB, free: 13.43 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 8.43e-05/1.193, allocations: 305.1 kB / 0.6979 GB, free: 13.13 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006093/1.199, allocations: 4.551 MB / 0.7023 GB, free: 8.574 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009509/1.209, allocations: 9.27 MB / 0.7114 GB, free: 13.01 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01828/1.227, allocations: 14.54 MB / 0.7256 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/1.228, allocations: 44 kB / 0.7256 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.2647/1.492, allocations: 19.75 MB / 0.7449 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/1.492, allocations: 73.81 kB / 0.745 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002099/1.493, allocations: 159.9 kB / 0.7451 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02023/1.513, allocations: 7.067 MB / 0.752 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005892/1.519, allocations: 1.916 MB / 0.7539 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04304/1.562, allocations: 35.31 MB / 0.7884 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008094/1.57, allocations: 0.5859 MB / 0.789 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001896/1.572, allocations: 500 kB / 0.7894 GB, free: 146.3 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.007084/1.579, allocations: 3.478 MB / 0.7928 GB, free: 143 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001734/1.581, allocations: 0.6384 MB / 0.7934 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02624/1.607, allocations: 13.31 MB / 0.8064 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.903e-05/1.607, allocations: 32 kB / 0.8065 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-05/1.607, allocations: 23.5 kB / 0.8065 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.369e-05/1.607, allocations: 19.94 kB / 0.8065 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04364/1.651, allocations: 26.57 MB / 0.8325 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.984e-05/1.651, allocations: 8 kB / 0.8325 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002037/1.653, allocations: 415.4 kB / 0.8329 GB, free: 102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01913/1.672, allocations: 6.651 MB / 0.8394 GB, free: 95.35 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008833/1.673, allocations: 68 kB / 0.8394 GB, free: 95.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03806/1.711, allocations: 33.98 MB / 0.8726 GB, free: 61.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.711, allocations: 11.94 kB / 0.8726 GB, free: 61.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03173/1.743, allocations: 18.77 MB / 0.891 GB, free: 42.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/1.745, allocations: 0.6895 MB / 0.8916 GB, free: 41.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/1.746, allocations: 67.92 kB / 0.8917 GB, free: 41.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003685/1.75, allocations: 305.2 kB / 0.892 GB, free: 41.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/1.751, allocations: 242.6 kB / 0.8922 GB, free: 41.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002891/1.751, allocations: 88 kB / 0.8923 GB, free: 41.06 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005801/1.757, allocations: 4.551 MB / 0.8967 GB, free: 36.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/1.757, allocations: 0 / 0.8967 GB, free: 36.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007818/1.765, allocations: 2.123 MB / 0.8988 GB, free: 34.42 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.0007472/1.765, allocations: 208.7 kB / 0.899 GB, free: 34.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01607/1.782, allocations: 11.63 MB / 0.9104 GB, free: 22.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.782, allocations: 4 kB / 0.9104 GB, free: 22.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007782/1.789, allocations: 4.999 MB / 0.9153 GB, free: 17.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005998/1.795, allocations: 0.9911 MB / 0.9162 GB, free: 16.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03092/1.826, allocations: 19.53 MB / 0.9353 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2247/2.051, allocations: 5.53 MB / 0.9407 GB, free: 183.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005313/2.056, allocations: 2.602 MB / 0.9432 GB, free: 183.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000967/2.057, allocations: 385.5 kB / 0.9436 GB, free: 183.3 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/2.057, allocations: 0 / 0.9436 GB, free: 183.3 MB / 0.545 GB Notification: Performance of Templates: time 0.121/2.178, allocations: 93.84 MB / 1.035 GB, free: 108.2 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches