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.0009883/0.0009886, allocations: 95.39 kB / 18 MB, free: 5.602 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.001234/0.001234, allocations: 181.8 kB / 18.91 MB, free: 4.738 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.464/1.464, allocations: 223.3 MB / 243 MB, free: 156 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1915/0.1915, allocations: 44.25 MB / 338.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003122, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 61.93 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0005869/0.1075, allocations: 217.3 kB / 473.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1089, allocations: 0.7755 MB / 473.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.052e-05/0.1089, allocations: 0 / 473.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.1089, allocations: 0 / 473.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.598e-06/0.109, allocations: 4 kB / 473.9 MB, free: 12.35 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.001617/0.1106, allocations: 0.5322 MB / 474.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.834e-05/0.1106, allocations: 4 kB / 474.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.241e-05/0.1107, allocations: 0 / 474.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.1107, allocations: 3.984 kB / 474.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.665e-05/0.1107, allocations: 0 / 474.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.1107, allocations: 0 / 474.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/0.1114, allocations: 375.2 kB / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-06/0.1114, allocations: 0 / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.1114, allocations: 25.7 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.1118, allocations: 243.6 kB / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1118, allocations: 0 / 475.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1118, allocations: 4 kB / 475.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1118, allocations: 0 / 475.1 MB, free: 11.17 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.0003724/0.1122, allocations: 393.2 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1123, allocations: 8.031 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.1123, allocations: 0.9375 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.487e-05/0.1124, allocations: 160.4 kB / 475.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1124, allocations: 4.312 kB / 475.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.1124, allocations: 4.375 kB / 475.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.29e-05/0.1125, allocations: 26.27 kB / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-06/0.1125, allocations: 4.188 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1125, allocations: 7.922 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1125, allocations: 0 / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.294e-05/0.1126, allocations: 8 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.1127, allocations: 141.7 kB / 475.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.525e-05/0.1127, allocations: 18.61 kB / 475.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.303e-05/0.1127, allocations: 8.859 kB / 475.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.1127, allocations: 4 kB / 475.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.1128, allocations: 56.27 kB / 475.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1128, allocations: 0 / 475.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.113, allocations: 71.33 kB / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.113, allocations: 77.11 kB / 476 MB, free: 9.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.393e-05/0.1131, allocations: 89.86 kB / 476.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1131, allocations: 29.7 kB / 476.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/0.1131, allocations: 80.14 kB / 476.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.1131, allocations: 4.125 kB / 476.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.1132, allocations: 9.719 kB / 476.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.138e-05/0.1133, allocations: 322.8 kB / 476.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.1133, allocations: 0 / 476.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.1133, allocations: 4 kB / 476.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.197e-05/0.1133, allocations: 56.27 kB / 476.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1133, allocations: 0 / 476.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.156e-05/0.1134, allocations: 59.41 kB / 476.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.1134, allocations: 41.78 kB / 476.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1135, allocations: 3.938 kB / 476.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1135, allocations: 3.938 kB / 476.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1135, allocations: 0 / 476.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1135, allocations: 0 / 476.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.1135, allocations: 4 kB / 476.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1135, allocations: 3.938 kB / 476.7 MB, free: 9.227 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 7.258e-05/0.1136, allocations: 135.5 kB / 476.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.1136, allocations: 0 / 476.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.958e-06/0.1136, allocations: 11.06 kB / 476.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1136, allocations: 0 / 476.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1136, allocations: 7.984 kB / 476.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1137, allocations: 7.938 kB / 476.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.93e-05/0.1138, allocations: 141.7 kB / 477 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1138, allocations: 0 / 477 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.1138, allocations: 0 / 477 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1138, allocations: 0 / 477 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1138, allocations: 3.938 kB / 477 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1138, allocations: 4 kB / 477 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1138, allocations: 0 / 477 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.426e-05/0.1139, allocations: 90.83 kB / 477.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.114, allocations: 77.11 kB / 477.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.114, allocations: 7.938 kB / 477.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.114, allocations: 3.984 kB / 477.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.114, allocations: 7.938 kB / 477.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.114, allocations: 0 / 477.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.886e-05/0.114, allocations: 79.31 kB / 477.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1141, allocations: 0 / 477.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.1144, allocations: 75.98 kB / 477.4 MB, free: 8.477 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.0005075/0.1149, allocations: 221.9 kB / 477.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.912e-05/0.115, allocations: 59.39 kB / 477.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.115, allocations: 0 / 477.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.221e-05/0.1151, allocations: 59.41 kB / 477.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.1152, allocations: 4.125 kB / 477.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.1154, allocations: 100.4 kB / 477.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1156, allocations: 0.6731 MB / 478.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.1156, allocations: 7.438 kB / 478.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1156, allocations: 0 / 478.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of Templates: time 0.00381/0.1194, allocations: 1.717 MB / 480.2 MB, free: 5.555 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/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