Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009118/0.0009117, allocations: 176.1 kB / 16.72 MB, free: 5.082 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.233/1.233, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007491/0.0007493, allocations: 90.39 kB / 271.2 MB, free: 8.242 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.2919/0.2919, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 12 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1054, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001759/0.1072, allocations: 1.255 MB / 492.1 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000523/0.1078, allocations: 295.8 kB / 492.4 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.1078, allocations: 7.938 kB / 492.4 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1081, allocations: 67.84 kB / 492.4 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.1082, allocations: 51.86 kB / 492.5 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1084, allocations: 71.8 kB / 492.6 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1085, allocations: 55.83 kB / 492.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.1086, allocations: 15.97 kB / 492.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.1087, allocations: 23.92 kB / 492.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.1088, allocations: 43.88 kB / 492.7 MB, free: 9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1088, allocations: 3.938 kB / 492.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.216e-05/0.1089, allocations: 24 kB / 492.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.1089, allocations: 23.91 kB / 492.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.109, allocations: 49.52 kB / 492.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1092, allocations: 59.91 kB / 492.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1092, allocations: 0 / 492.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1092, allocations: 0 / 492.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1092, allocations: 0 / 492.9 MB, free: 8.836 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005074/0.1097, allocations: 391.4 kB / 493.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1098, allocations: 11.97 kB / 493.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.1098, allocations: 8.844 kB / 493.3 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.11, allocations: 204.1 kB / 493.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1101, allocations: 384 / 493.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.1101, allocations: 4.375 kB / 493.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1103, allocations: 53.75 kB / 493.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.1103, allocations: 7.984 kB / 493.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1103, allocations: 0 / 493.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1103, allocations: 0 / 493.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.1104, allocations: 27.98 kB / 493.6 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.1108, allocations: 276.9 kB / 493.8 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1111, allocations: 46.5 kB / 493.9 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.1111, allocations: 16.94 kB / 493.9 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1112, allocations: 4 kB / 493.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1112, allocations: 34.56 kB / 493.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1112, allocations: 4 kB / 493.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005833/0.1118, allocations: 161.1 kB / 494.1 MB, free: 7.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1118, allocations: 55.41 kB / 494.1 MB, free: 7.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.1121, allocations: 194.2 kB / 494.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1121, allocations: 29.7 kB / 494.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.1122, allocations: 108.1 kB / 494.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1122, allocations: 11.72 kB / 494.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.1122, allocations: 8 kB / 494.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1124, allocations: 326.8 kB / 494.8 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.1124, allocations: 19.98 kB / 494.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/0.1125, allocations: 24.05 kB / 494.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1126, allocations: 60.83 kB / 494.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1126, allocations: 0 / 494.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001865/0.1128, allocations: 89.52 kB / 495 MB, free: 6.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1129, allocations: 4 kB / 495 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1129, allocations: 4 kB / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1129, allocations: 0 / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.113, allocations: 15.98 kB / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.113, allocations: 0 / 495 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.157e-05/0.113, allocations: 11.92 kB / 495 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.113, allocations: 4 kB / 495 MB, free: 6.441 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 9.763e-05/0.1131, allocations: 129.8 kB / 495.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.1132, allocations: 11.91 kB / 495.2 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.1134, allocations: 101.9 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1134, allocations: 4 kB / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1134, allocations: 0 / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1134, allocations: 288 / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.1138, allocations: 358.5 kB / 495.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.1139, allocations: 4 kB / 495.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.1139, allocations: 15.92 kB / 495.6 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1139, allocations: 7.984 kB / 495.6 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1139, allocations: 320 / 495.6 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1139, allocations: 11.94 kB / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1139, allocations: 0 / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.1142, allocations: 187.3 kB / 495.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.1142, allocations: 89.02 kB / 495.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1143, allocations: 0 / 495.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.1143, allocations: 15.92 kB / 495.9 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.1144, allocations: 4 kB / 495.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1144, allocations: 0 / 495.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001182/0.1145, allocations: 164 kB / 496.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1145, allocations: 0 / 496.1 MB, free: 5.254 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000226/0.1148, allocations: 20 kB / 496.1 MB, free: 5.234 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0008126/0.1156, allocations: 402.5 kB / 496.5 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1158, allocations: 51.97 kB / 496.6 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1158, allocations: 0 / 496.6 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.1159, allocations: 31.97 kB / 496.6 MB, free: 4.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1162, allocations: 12 kB / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.1166, allocations: 262.9 kB / 496.9 MB, free: 4.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1168, allocations: 0.7043 MB / 497.6 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.1169, allocations: 15.44 kB / 497.6 MB, free: 3.746 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1169, allocations: 0 / 497.6 MB, free: 3.746 MB / 378.7 MB Notification: Performance of Templates: time 0.002781/0.1197, allocations: 1.45 MB / 499 MB, free: 2.297 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches