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.001107/0.001107, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 60.17 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1154, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.1804/0.2958, allocations: 19.36 MB / 378.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.3079, allocations: 5.99 MB / 384.2 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00683/0.3148, allocations: 152.5 kB / 384.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.3257, allocations: 5.834 MB / 390.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008123/0.3338, allocations: 3.301 MB / 393.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.3373, allocations: 1.568 MB / 395.1 MB, free: 1.945 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01634/0.3536, allocations: 12.67 MB / 407.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009888/0.3635, allocations: 7.657 MB / 415.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006449/0.37, allocations: 3.552 MB / 419 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007098/0.3771, allocations: 4.732 MB / 423.7 MB, free: 10 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002477/0.3796, allocations: 0.7109 MB / 424.4 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004469/0.3841, allocations: 1.658 MB / 426.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00499/0.3891, allocations: 4.173 MB / 430.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00628/0.3954, allocations: 4.448 MB / 434.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.4081, allocations: 13.6 MB / 448.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4081, allocations: 3.938 kB / 448.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4082, allocations: 0 / 448.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002952/0.4085, allocations: 4 kB / 448.3 MB, free: 1.328 MB / 350.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.02173/0.4302, allocations: 9.645 MB / 458 MB, free: 7.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4303, allocations: 8.031 kB / 458 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04193/0.4722, allocations: 5.232 MB / 463.2 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01924/0.4915, allocations: 7.898 MB / 471.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003821/0.4919, allocations: 431.6 kB / 471.5 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/0.494, allocations: 0.5853 MB / 472.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03161/0.5256, allocations: 16.55 MB / 488.7 MB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004186/0.5261, allocations: 99.17 kB / 488.7 MB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002174/0.5283, allocations: 267.8 kB / 489 MB, free: 7.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004627/0.5329, allocations: 2.764 MB / 491.8 MB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02776/0.5607, allocations: 13.62 MB / 0.4935 GB, free: 6.984 MB / 414.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.4003/0.9611, allocations: 67.72 MB / 0.5597 GB, free: 97.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01929/0.9804, allocations: 7.904 MB / 0.5674 GB, free: 95.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00491/0.9854, allocations: 4.513 MB / 0.5718 GB, free: 94.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01923/1.005, allocations: 12.41 MB / 0.5839 GB, free: 88.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/1.005, allocations: 64.03 kB / 0.584 GB, free: 88.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=280): time 4.819e-06/1.005, allocations: 0 / 0.584 GB, free: 88.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.1728/1.178, allocations: 50.11 MB / 0.6329 GB, free: 45.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/1.178, allocations: 402 kB / 0.6333 GB, free: 45.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01637/1.194, allocations: 7.107 MB / 0.6403 GB, free: 37.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001107/1.195, allocations: 81.7 kB / 0.6403 GB, free: 37.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004054/1.199, allocations: 5.017 MB / 0.6452 GB, free: 32.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001907/1.201, allocations: 1.261 MB / 0.6465 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003878/1.205, allocations: 1.86 MB / 0.6483 GB, free: 29.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.65e-05/1.205, allocations: 301.1 kB / 0.6486 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008496/1.214, allocations: 4.547 MB / 0.653 GB, free: 24.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/1.226, allocations: 9.265 MB / 0.6621 GB, free: 13.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02203/1.248, allocations: 14.54 MB / 0.6763 GB, free: 12.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/1.248, allocations: 44 kB / 0.6763 GB, free: 12.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.05747/1.306, allocations: 19.75 MB / 0.6956 GB, free: 8.691 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.306, allocations: 72 kB / 0.6957 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/1.306, allocations: 160 kB / 0.6958 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02044/1.326, allocations: 7.06 MB / 0.7027 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1935/1.52, allocations: 1.92 MB / 0.7046 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04759/1.568, allocations: 35.31 MB / 0.7391 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008645/1.576, allocations: 0.5939 MB / 0.7396 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/1.578, allocations: 0.4942 MB / 0.7401 GB, free: 135.9 MB / 478.1 MB 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.005773/1.584, allocations: 3.465 MB / 0.7435 GB, free: 134.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/1.585, allocations: 0.629 MB / 0.7441 GB, free: 134.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0247/1.61, allocations: 13.32 MB / 0.7571 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.005e-05/1.61, allocations: 35.94 kB / 0.7572 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.655e-05/1.61, allocations: 20 kB / 0.7572 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.747e-05/1.61, allocations: 19.94 kB / 0.7572 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04573/1.656, allocations: 26.56 MB / 0.7831 GB, free: 101.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.7e-05/1.656, allocations: 8 kB / 0.7831 GB, free: 101.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/1.658, allocations: 427.3 kB / 0.7836 GB, free: 101.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01811/1.676, allocations: 6.637 MB / 0.79 GB, free: 94.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008333/1.677, allocations: 67.98 kB / 0.7901 GB, free: 94.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03811/1.715, allocations: 33.99 MB / 0.8233 GB, free: 60.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/1.715, allocations: 16.31 kB / 0.8233 GB, free: 60.65 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0335/1.749, allocations: 18.77 MB / 0.8416 GB, free: 41.95 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002045/1.751, allocations: 0.6864 MB / 0.8423 GB, free: 41.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002332/1.753, allocations: 63.98 kB / 0.8424 GB, free: 41.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004649/1.758, allocations: 307.5 kB / 0.8427 GB, free: 40.88 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/1.759, allocations: 245.8 kB / 0.8429 GB, free: 40.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004715/1.76, allocations: 94.8 kB / 0.843 GB, free: 40.55 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006374/1.766, allocations: 4.551 MB / 0.8474 GB, free: 36.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.766, allocations: 0 / 0.8474 GB, free: 36.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0087/1.775, allocations: 2.122 MB / 0.8495 GB, free: 33.91 MB / 478.1 MB 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.0009057/1.776, allocations: 220.4 kB / 0.8497 GB, free: 33.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01728/1.793, allocations: 11.62 MB / 0.8611 GB, free: 22.06 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/1.793, allocations: 4 kB / 0.8611 GB, free: 22.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008493/1.802, allocations: 4.995 MB / 0.8659 GB, free: 17 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008909/1.811, allocations: 0.9939 MB / 0.8669 GB, free: 16.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2289/2.04, allocations: 19.51 MB / 0.886 GB, free: 143.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01003/2.05, allocations: 5.534 MB / 0.8914 GB, free: 143 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00616/2.056, allocations: 2.606 MB / 0.8939 GB, free: 142.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/2.057, allocations: 387.4 kB / 0.8943 GB, free: 142.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.272e-06/2.057, allocations: 3.844 kB / 0.8943 GB, free: 142.9 MB / 478.1 MB Notification: Performance of Templates: time 0.1357/2.193, allocations: 90.95 MB / 0.9831 GB, free: 69.24 MB / 478.1 MB 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/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