Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 187 kB / 16.63 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 222.4 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 104.8 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3034/0.3034, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009545/0.0009545, allocations: 55.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.09718, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001659/0.09887, allocations: 0.5579 MB / 487.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.1015, allocations: 2.004 MB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-06/0.1015, allocations: 0 / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.1015, allocations: 0 / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.558e-06/0.1015, allocations: 0 / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.1032, allocations: 0.6466 MB / 490.2 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.499e-05/0.1033, allocations: 0 / 490.2 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.729e-05/0.1033, allocations: 4 kB / 490.2 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.636e-05/0.1033, allocations: 3.938 kB / 490.2 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.479e-05/0.1033, allocations: 3.984 kB / 490.2 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-06/0.1034, allocations: 0 / 490.2 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009822/0.1043, allocations: 0.6434 MB / 490.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-06/0.1044, allocations: 4 kB / 490.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.1044, allocations: 4 kB / 490.9 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.1051, allocations: 0.5614 MB / 491.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1051, allocations: 0 / 491.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1051, allocations: 0 / 491.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1051, allocations: 0 / 491.4 MB, free: 8.086 MB / 378.7 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.0004076/0.1055, allocations: 401.2 kB / 491.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1056, allocations: 12.03 kB / 491.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.1056, allocations: 0.9375 kB / 491.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.838e-05/0.1057, allocations: 164.4 kB / 492 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1057, allocations: 384 / 492 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.1057, allocations: 384 / 492 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.939e-05/0.1058, allocations: 37.95 kB / 492 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1058, allocations: 0 / 492 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.1058, allocations: 3.938 kB / 492 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1058, allocations: 0 / 492 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.594e-05/0.1058, allocations: 3.984 kB / 492 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.106, allocations: 149.7 kB / 492.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.458e-05/0.106, allocations: 22.56 kB / 492.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.391e-05/0.106, allocations: 12.95 kB / 492.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-06/0.106, allocations: 7.875 kB / 492.2 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.1061, allocations: 64.19 kB / 492.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1061, allocations: 0 / 492.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000143/0.1062, allocations: 67.39 kB / 492.4 MB, free: 6.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1063, allocations: 77.23 kB / 492.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.342e-05/0.1063, allocations: 93.86 kB / 492.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.1063, allocations: 25.7 kB / 492.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.1064, allocations: 80.14 kB / 492.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.1064, allocations: 4 kB / 492.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.1064, allocations: 9.719 kB / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.1065, allocations: 314.8 kB / 493 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.1066, allocations: 0 / 493 MB, free: 6.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-06/0.1066, allocations: 7.938 kB / 493 MB, free: 6.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/0.1066, allocations: 68.33 kB / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1066, allocations: 0 / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.408e-05/0.1067, allocations: 55.41 kB / 493.1 MB, free: 6.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.1067, allocations: 41.62 kB / 493.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1067, allocations: 0 / 493.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1068, allocations: 0 / 493.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.1068, allocations: 0 / 493.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1068, allocations: 0 / 493.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.1068, allocations: 0 / 493.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1068, allocations: 4.031 kB / 493.1 MB, free: 6.121 MB / 378.7 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.135e-05/0.1069, allocations: 139.8 kB / 493.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.1069, allocations: 3.938 kB / 493.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.262e-05/0.1069, allocations: 3.125 kB / 493.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1069, allocations: 3.938 kB / 493.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1069, allocations: 7.984 kB / 493.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1069, allocations: 0 / 493.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.132e-05/0.107, allocations: 141.7 kB / 493.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.107, allocations: 3.938 kB / 493.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.107, allocations: 4 kB / 493.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1071, allocations: 3.938 kB / 493.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.1071, allocations: 4 kB / 493.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1071, allocations: 0 / 493.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1071, allocations: 0 / 493.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.1074, allocations: 0.6374 MB / 494.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.1074, allocations: 85.08 kB / 494.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.1074, allocations: 0 / 494.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-06/0.1075, allocations: 0 / 494.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-06/0.1075, allocations: 0 / 494.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1075, allocations: 4 kB / 494.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.302e-05/0.1075, allocations: 83.22 kB / 494.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1075, allocations: 0 / 494.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005277/0.108, allocations: 128 kB / 494.4 MB, free: 4.73 MB / 378.7 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.0006241/0.1087, allocations: 270.2 kB / 494.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.4e-05/0.1088, allocations: 63.33 kB / 494.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1088, allocations: 0 / 494.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.1088, allocations: 63.34 kB / 494.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.1089, allocations: 4 kB / 494.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.1091, allocations: 185.3 kB / 494.9 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.1093, allocations: 0.6692 MB / 495.6 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.13e-06/0.1093, allocations: 4.125 kB / 495.6 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-06/0.1094, allocations: 7.438 kB / 495.6 MB, free: 3.383 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1094, allocations: 0 / 495.6 MB, free: 3.383 MB / 378.7 MB Notification: Performance of Templates: time 0.00629/0.1157, allocations: 3.768 MB / 499.4 MB, free: 15.61 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches