Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 169.8 kB / 16.72 MB, free: 5.051 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.323/1.323, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007184/0.0007184, allocations: 95.64 kB / 271.2 MB, free: 8.25 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.3155/0.3155, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003587, allocations: 16 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1064, allocations: 58.83 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.0006007/0.1071, allocations: 228.4 kB / 491 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1089, allocations: 1.201 MB / 492.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.1089, allocations: 0 / 492.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.109, allocations: 7.938 kB / 492.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1091, allocations: 4 kB / 492.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.1099, allocations: 191.6 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.074e-05/0.1099, allocations: 0 / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.11, allocations: 4 kB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.11, allocations: 0 / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.1101, allocations: 23.91 kB / 492.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-06/0.1101, allocations: 0 / 492.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.1115, allocations: 0.5712 MB / 493 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.1115, allocations: 4 kB / 493 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.1115, allocations: 33.64 kB / 493.1 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1117, allocations: 119.7 kB / 493.2 MB, free: 8.312 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1117, allocations: 0 / 493.2 MB, free: 8.312 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1117, allocations: 0 / 493.2 MB, free: 8.312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1117, allocations: 0 / 493.2 MB, free: 8.312 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.0003643/0.1121, allocations: 393 kB / 493.6 MB, free: 7.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1122, allocations: 15.97 kB / 493.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.1122, allocations: 8.938 kB / 493.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1123, allocations: 160.4 kB / 493.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1124, allocations: 384 / 493.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-06/0.1124, allocations: 384 / 493.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1125, allocations: 37.81 kB / 493.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1125, allocations: 0 / 493.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1125, allocations: 0 / 493.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1125, allocations: 0 / 493.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.922e-05/0.1125, allocations: 7.938 kB / 493.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.1127, allocations: 149.7 kB / 493.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.1127, allocations: 18.58 kB / 494 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.1127, allocations: 12.94 kB / 494 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.1128, allocations: 0 / 494 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.1128, allocations: 64.2 kB / 494 MB, free: 7.293 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1128, allocations: 0 / 494 MB, free: 7.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001637/0.113, allocations: 71.34 kB / 494.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.113, allocations: 81.05 kB / 494.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.871e-05/0.1131, allocations: 97.84 kB / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1131, allocations: 29.7 kB / 494.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.1132, allocations: 80.14 kB / 494.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.1132, allocations: 0 / 494.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.1132, allocations: 0 / 494.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1133, allocations: 311.1 kB / 494.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-06/0.1133, allocations: 4 kB / 494.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.1133, allocations: 4 kB / 494.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.988e-05/0.1134, allocations: 68.25 kB / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1134, allocations: 0 / 494.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.497e-05/0.1134, allocations: 67.28 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.1135, allocations: 29.7 kB / 494.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1135, allocations: 0 / 494.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.1135, allocations: 0 / 494.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1135, allocations: 96 / 494.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1135, allocations: 8 kB / 494.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.1135, allocations: 3.906 kB / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1136, allocations: 3.984 kB / 494.9 MB, free: 6.359 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.891e-05/0.1136, allocations: 139.5 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.1137, allocations: 3.938 kB / 495 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.799e-06/0.1137, allocations: 3.125 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1137, allocations: 0 / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1137, allocations: 0 / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1137, allocations: 0 / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.514e-05/0.1138, allocations: 157.7 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1138, allocations: 0 / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-06/0.1138, allocations: 3.938 kB / 495.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1138, allocations: 3.984 kB / 495.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.1138, allocations: 0 / 495.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1138, allocations: 4 kB / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1138, allocations: 0 / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.19e-05/0.1139, allocations: 98.77 kB / 495.3 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.114, allocations: 81.05 kB / 495.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.114, allocations: 0 / 495.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.008e-05/0.114, allocations: 4 kB / 495.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.114, allocations: 0 / 495.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-06/0.114, allocations: 4 kB / 495.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.673e-05/0.114, allocations: 79.27 kB / 495.4 MB, free: 5.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1141, allocations: 0 / 495.4 MB, free: 5.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.1143, allocations: 63.98 kB / 495.5 MB, free: 5.617 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005688/0.1149, allocations: 343.5 kB / 495.8 MB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.397e-05/0.115, allocations: 59.41 kB / 495.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.115, allocations: 3.938 kB / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.115, allocations: 59.47 kB / 496 MB, free: 5.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.1152, allocations: 7.938 kB / 496 MB, free: 5.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001796/0.1154, allocations: 112.5 kB / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.1156, allocations: 0.6692 MB / 496.7 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.037e-05/0.1156, allocations: 7.438 kB / 496.7 MB, free: 4.297 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1156, allocations: 0 / 496.7 MB, free: 4.297 MB / 378.7 MB Notification: Performance of Templates: time 0.002922/0.1185, allocations: 1.666 MB / 498.4 MB, free: 2.629 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches