Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.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.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 96.02 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009496/0.0009496, allocations: 200.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003642, allocations: 8 kB / 306.6 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003327/0.1337, allocations: 1.807 MB / 359.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006947/0.1345, allocations: 199.3 kB / 360.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.1347, allocations: 8 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.1348, allocations: 27.83 kB / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.1351, allocations: 63.78 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1354, allocations: 43.95 kB / 360.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.1357, allocations: 155.7 kB / 360.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.136, allocations: 85.94 kB / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.1362, allocations: 75.72 kB / 360.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.1364, allocations: 87.61 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.1365, allocations: 12 kB / 360.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.764e-05/0.1365, allocations: 12 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.1366, allocations: 43.84 kB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.912e-05/0.1367, allocations: 65.58 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.137, allocations: 187.8 kB / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.137, allocations: 0 / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.137, allocations: 0 / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.137, allocations: 0 / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009584/0.138, allocations: 481.6 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1381, allocations: 12.03 kB / 361.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1382, allocations: 23.72 kB / 361.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.1385, allocations: 224.8 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.1386, allocations: 20.55 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.1387, allocations: 24 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.1392, allocations: 232.3 kB / 361.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.1393, allocations: 0 / 361.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.1393, allocations: 8 kB / 361.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.1393, allocations: 8 kB / 361.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.1397, allocations: 127.9 kB / 362 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.1414, allocations: 0.8674 MB / 362.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.1418, allocations: 159.7 kB / 363.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1418, allocations: 4 kB / 363.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1418, allocations: 30.56 kB / 363.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.154e-06/0.1419, allocations: 0 / 363.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005663/0.1424, allocations: 178.1 kB / 363.3 MB, free: 8.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.1425, allocations: 106.8 kB / 363.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1428, allocations: 202.1 kB / 363.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1429, allocations: 25.7 kB / 363.6 MB, free: 8.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.143, allocations: 159.9 kB / 363.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.1431, allocations: 67.09 kB / 363.8 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.1431, allocations: 4 kB / 363.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1433, allocations: 330.8 kB / 364.2 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1435, allocations: 48.55 kB / 364.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.1437, allocations: 155.5 kB / 364.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.144, allocations: 80 kB / 364.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.144, allocations: 4 kB / 364.4 MB, free: 7.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005607/0.1445, allocations: 237.1 kB / 364.7 MB, free: 6.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1446, allocations: 4.438 kB / 364.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.1446, allocations: 4 kB / 364.7 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.1446, allocations: 12 kB / 364.7 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.145, allocations: 59.88 kB / 364.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.145, allocations: 11.92 kB / 364.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.1452, allocations: 27.69 kB / 364.8 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1453, allocations: 16 kB / 364.8 MB, free: 6.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.1454, allocations: 133.7 kB / 364.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.1456, allocations: 23.91 kB / 365 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.53e-05/0.1457, allocations: 33.38 kB / 365 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1457, allocations: 0 / 365 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.1457, allocations: 11.95 kB / 365 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1457, allocations: 0 / 365 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008054/0.1465, allocations: 416.9 kB / 365.4 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1465, allocations: 3.984 kB / 365.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.1468, allocations: 43.86 kB / 365.4 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.1469, allocations: 12.05 kB / 365.5 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.1469, allocations: 4 kB / 365.5 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.1469, allocations: 4 kB / 365.5 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1469, allocations: 3.938 kB / 365.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005679/0.1475, allocations: 421.5 kB / 365.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.1476, allocations: 100.9 kB / 366 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.1477, allocations: 4 kB / 366 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.1479, allocations: 4 kB / 366 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1479, allocations: 15.94 kB / 366 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.148, allocations: 8 kB / 366 MB, free: 5.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.1481, allocations: 139.2 kB / 366.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1481, allocations: 0 / 366.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006421/0.1488, allocations: 55.84 kB / 366.2 MB, free: 5.277 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.1489, allocations: 99.19 kB / 366.3 MB, free: 5.172 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003926/0.1494, allocations: 140.5 kB / 366.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.1494, allocations: 0 / 366.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1495, allocations: 51.92 kB / 366.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.15, allocations: 27.92 kB / 366.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1515, allocations: 0.715 MB / 367.2 MB, free: 4.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1519, allocations: 0.7362 MB / 368 MB, free: 3.438 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.152, allocations: 29.92 kB / 368 MB, free: 3.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.1521, allocations: 15.44 kB / 368 MB, free: 3.395 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1521, allocations: 4 kB / 368 MB, free: 3.391 MB / 302.1 MB Notification: Performance of Templates: time 0.00591/0.158, allocations: 1.388 MB / 369.4 MB, free: 2.016 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches