Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 69.17 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1249, allocations: 60.82 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001532/0.1265, allocations: 491.7 kB / 469.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.1277, allocations: 0.7666 MB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.1277, allocations: 0 / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.335e-06/0.1277, allocations: 0 / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.198e-06/0.1277, allocations: 0 / 470.5 MB, free: 13.15 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.001413/0.1291, allocations: 0.5826 MB / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.392e-05/0.1292, allocations: 0 / 471.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.346e-05/0.1292, allocations: 8 kB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.331e-05/0.1292, allocations: 3.984 kB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.259e-05/0.1292, allocations: 0 / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.549e-06/0.1293, allocations: 0 / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.1298, allocations: 379.2 kB / 471.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-06/0.1298, allocations: 0 / 471.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.1298, allocations: 0 / 471.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.1302, allocations: 331.3 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1303, allocations: 4 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1303, allocations: 0 / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1303, allocations: 0 / 471.8 MB, free: 11.86 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.000327/0.1306, allocations: 389.2 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1306, allocations: 8.031 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.1307, allocations: 4.875 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.671e-05/0.1308, allocations: 168.4 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1308, allocations: 4.375 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1308, allocations: 4.375 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.028e-05/0.1309, allocations: 26.27 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1309, allocations: 4.125 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1309, allocations: 3.938 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1309, allocations: 0 / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.522e-05/0.1309, allocations: 4 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.131, allocations: 149.7 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.572e-05/0.1311, allocations: 18.61 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.1311, allocations: 8.859 kB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.1311, allocations: 0 / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.1312, allocations: 60.27 kB / 472.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.1312, allocations: 0 / 472.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.1313, allocations: 71.33 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1314, allocations: 81.23 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.32e-05/0.1314, allocations: 89.86 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.1314, allocations: 29.7 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.1314, allocations: 84.14 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.1315, allocations: 0 / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.1315, allocations: 9.719 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.1316, allocations: 314.8 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-06/0.1316, allocations: 0 / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.1316, allocations: 4 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.1317, allocations: 68.19 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1317, allocations: 0 / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.152e-05/0.1317, allocations: 63.41 kB / 473.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.1318, allocations: 29.7 kB / 473.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1318, allocations: 3.938 kB / 473.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1318, allocations: 3.938 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1318, allocations: 0 / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1318, allocations: 0 / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.1318, allocations: 12.08 kB / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.1318, allocations: 0 / 473.5 MB, free: 9.902 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 8.044e-05/0.1319, allocations: 131.5 kB / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.1319, allocations: 4 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.104e-05/0.1319, allocations: 11.05 kB / 473.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.132, allocations: 0 / 473.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.132, allocations: 0 / 473.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.132, allocations: 0 / 473.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.534e-05/0.132, allocations: 149.7 kB / 473.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1321, allocations: 11.94 kB / 473.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1321, allocations: 0 / 473.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1321, allocations: 0 / 473.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1321, allocations: 7.875 kB / 473.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1321, allocations: 0 / 473.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1321, allocations: 3.984 kB / 473.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.859e-05/0.1322, allocations: 90.83 kB / 473.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.1322, allocations: 81.02 kB / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1322, allocations: 7.969 kB / 474 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-06/0.1322, allocations: 0 / 474 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.1323, allocations: 4 kB / 474 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.1323, allocations: 0 / 474 MB, free: 9.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.66e-05/0.1323, allocations: 75.28 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1323, allocations: 0 / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.1326, allocations: 79.98 kB / 474.1 MB, free: 9.148 MB / 350.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.0004652/0.1331, allocations: 232.3 kB / 474.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.723e-05/0.1332, allocations: 67.34 kB / 474.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1332, allocations: 0 / 474.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/0.1332, allocations: 55.41 kB / 474.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.1334, allocations: 3.75 kB / 474.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001492/0.1335, allocations: 80.92 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.1337, allocations: 0.669 MB / 475.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.371e-06/0.1337, allocations: 0 / 475.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-06/0.1338, allocations: 15.56 kB / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1338, allocations: 0 / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of Templates: time 0.004155/0.1379, allocations: 1.827 MB / 477 MB, free: 6.133 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches