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.001725/0.001725, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.002184/0.002184, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.344/1.344, allocations: 222.9 MB / 243 MB, free: 15.15 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.1923/0.1923, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.86 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1187, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001718/0.1205, allocations: 490.9 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1218, allocations: 0.7705 MB / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.565e-05/0.1219, allocations: 0 / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.1219, allocations: 0 / 471.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.408e-06/0.1219, allocations: 3.938 kB / 471.9 MB, free: 12.4 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.001573/0.1235, allocations: 0.5824 MB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.758e-05/0.1235, allocations: 7.984 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.1236, allocations: 0 / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.32e-05/0.1236, allocations: 0 / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.533e-05/0.1236, allocations: 0 / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-06/0.1236, allocations: 4 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006095/0.1242, allocations: 379.2 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-06/0.1243, allocations: 4 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.1243, allocations: 3.984 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.1247, allocations: 331.4 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1248, allocations: 0 / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1248, allocations: 3.938 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1248, allocations: 4 kB / 473.2 MB, free: 11.1 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.0003561/0.1251, allocations: 385.2 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1252, allocations: 16.03 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.1252, allocations: 0.9375 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.928e-05/0.1253, allocations: 160.4 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1253, allocations: 4.359 kB / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1253, allocations: 384 / 473.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.256e-05/0.1254, allocations: 38.25 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.1254, allocations: 192 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1255, allocations: 3.938 kB / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1255, allocations: 0 / 473.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.1255, allocations: 8 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.1256, allocations: 141.7 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.1257, allocations: 18.52 kB / 474 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.1257, allocations: 12.94 kB / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.1257, allocations: 0 / 474 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.1258, allocations: 64.2 kB / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1258, allocations: 0 / 474.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.1259, allocations: 71.28 kB / 474.2 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.126, allocations: 77.11 kB / 474.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.691e-05/0.126, allocations: 93.84 kB / 474.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.126, allocations: 25.7 kB / 474.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.1261, allocations: 84.14 kB / 474.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.1261, allocations: 0 / 474.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.1261, allocations: 13.72 kB / 474.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1262, allocations: 311 kB / 474.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.1263, allocations: 8 kB / 474.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-06/0.1263, allocations: 0 / 474.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.161e-05/0.1263, allocations: 60.27 kB / 474.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1263, allocations: 0 / 474.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.666e-05/0.1264, allocations: 67.33 kB / 474.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.1265, allocations: 33.7 kB / 474.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1265, allocations: 0 / 474.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.1265, allocations: 7.938 kB / 474.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.1265, allocations: 8.031 kB / 474.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1265, allocations: 3.984 kB / 474.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.1265, allocations: 0 / 474.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1265, allocations: 4 kB / 474.9 MB, free: 9.137 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.0001128/0.1267, allocations: 135.5 kB / 475.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-06/0.1267, allocations: 0 / 475.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.643e-05/0.1267, allocations: 11.06 kB / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1267, allocations: 0 / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1267, allocations: 0 / 475.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1267, allocations: 4 kB / 475.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.1269, allocations: 145.7 kB / 475.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1269, allocations: 3.984 kB / 475.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1269, allocations: 0 / 475.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1269, allocations: 4 kB / 475.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1269, allocations: 3.938 kB / 475.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1269, allocations: 0 / 475.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1269, allocations: 0 / 475.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.127, allocations: 98.77 kB / 475.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.1271, allocations: 81.02 kB / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1271, allocations: 3.938 kB / 475.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-06/0.1271, allocations: 0 / 475.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.1271, allocations: 0 / 475.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1271, allocations: 4 kB / 475.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.327e-05/0.1271, allocations: 75.28 kB / 475.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1272, allocations: 3.938 kB / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003285/0.1275, allocations: 75.98 kB / 475.6 MB, free: 8.391 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.0004851/0.128, allocations: 231.5 kB / 475.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.359e-05/0.1281, allocations: 59.39 kB / 475.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1281, allocations: 4 kB / 475.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.087e-05/0.1281, allocations: 55.41 kB / 475.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.1283, allocations: 10.44 kB / 475.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001725/0.1284, allocations: 72.94 kB / 476 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1287, allocations: 0.6769 MB / 476.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.999e-06/0.1287, allocations: 0 / 476.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.1287, allocations: 7.438 kB / 476.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1287, allocations: 0 / 476.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of Templates: time 0.004813/0.1335, allocations: 1.827 MB / 478.5 MB, free: 5.379 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches