Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 107.9 kB / 17.63 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00158/0.00158, allocations: 210.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 79.8 kB / 417.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1234, allocations: 62.46 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001831/0.1252, allocations: 483.7 kB / 480.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1268, allocations: 0.763 MB / 481.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.501e-05/0.1268, allocations: 0 / 481.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.1268, allocations: 0 / 481.3 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.482e-06/0.1268, allocations: 0 / 481.3 MB, free: 3.984 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.1286, allocations: 0.6655 MB / 482 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.61e-05/0.1287, allocations: 0 / 482 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.1287, allocations: 8 kB / 482 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.498e-05/0.1287, allocations: 3.938 kB / 482 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.548e-05/0.1288, allocations: 0 / 482 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-06/0.1288, allocations: 0 / 482 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006485/0.1294, allocations: 383.3 kB / 482.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.1294, allocations: 3.984 kB / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.1295, allocations: 4 kB / 482.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.1299, allocations: 347.3 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.13, allocations: 0 / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.13, allocations: 4 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.13, allocations: 0 / 482.7 MB, free: 2.578 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004915/0.1305, allocations: 381.3 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1305, allocations: 8.031 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1306, allocations: 0.9375 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1307, allocations: 164.4 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1307, allocations: 384 / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.1307, allocations: 8.375 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.1308, allocations: 30.27 kB / 483.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1309, allocations: 192 / 483.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1309, allocations: 3.938 kB / 483.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1309, allocations: 0 / 483.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.106e-05/0.1309, allocations: 7.938 kB / 483.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.1311, allocations: 145.7 kB / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.818e-05/0.1311, allocations: 22.61 kB / 483.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.1311, allocations: 8.859 kB / 483.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-06/0.1312, allocations: 0 / 483.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/0.1312, allocations: 60.27 kB / 483.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.1312, allocations: 0 / 483.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001995/0.1314, allocations: 71.33 kB / 483.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.1315, allocations: 77.11 kB / 483.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.415e-05/0.1316, allocations: 93.86 kB / 483.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1316, allocations: 29.83 kB / 483.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.1316, allocations: 84.08 kB / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1317, allocations: 0 / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.1317, allocations: 13.72 kB / 483.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1318, allocations: 314.8 kB / 484.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.1318, allocations: 0 / 484.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-06/0.1318, allocations: 0 / 484.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.212e-05/0.1319, allocations: 72.25 kB / 484.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1319, allocations: 0 / 484.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.481e-05/0.132, allocations: 67.34 kB / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.132, allocations: 29.7 kB / 484.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1321, allocations: 3.984 kB / 484.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1321, allocations: 3.938 kB / 484.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.1321, allocations: 0 / 484.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1321, allocations: 3.984 kB / 484.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.1321, allocations: 4 kB / 484.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1321, allocations: 4 kB / 484.4 MB, free: 0.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.1322, allocations: 135.6 kB / 484.6 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-06/0.1323, allocations: 4 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.288e-06/0.1323, allocations: 7.062 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.1323, allocations: 0 / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1323, allocations: 0 / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1323, allocations: 0 / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.1324, allocations: 153.7 kB / 484.7 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1324, allocations: 4 kB / 484.7 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1324, allocations: 0 / 484.7 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.1324, allocations: 4 kB / 484.7 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1325, allocations: 3.938 kB / 484.7 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.1325, allocations: 0 / 484.7 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1325, allocations: 0 / 484.7 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.1326, allocations: 94.77 kB / 484.8 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.1326, allocations: 81.09 kB / 484.9 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1327, allocations: 3.938 kB / 484.9 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.1327, allocations: 0 / 484.9 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-06/0.1327, allocations: 8.031 kB / 484.9 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1327, allocations: 0 / 484.9 MB, free: 32 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.761e-05/0.1327, allocations: 75.28 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1328, allocations: 3.938 kB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003718/0.1331, allocations: 83.98 kB / 485.1 MB, free: 15.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005313/0.1337, allocations: 221.5 kB / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.1338, allocations: 67.34 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1338, allocations: 0 / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/0.1338, allocations: 55.41 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.134, allocations: 8.906 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.1342, allocations: 84.83 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1345, allocations: 0.669 MB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.921e-06/0.1346, allocations: 0 / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.018e-05/0.1346, allocations: 7.438 kB / 486.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1346, allocations: 0 / 486.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of Templates: time 0.005409/0.14, allocations: 1.936 MB / 488.1 MB, free: 12.75 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches