Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,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.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,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.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 177.9 kB / 16.41 MB, free: 5.707 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.299/1.299, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.000752/0.000752, allocations: 92.86 kB / 270.9 MB, free: 8.355 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.291/0.291, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 16 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.001872/0.1109, allocations: 1.251 MB / 491.5 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005854/0.1115, allocations: 295.8 kB / 491.8 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.1116, allocations: 0 / 491.8 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1119, allocations: 31.84 kB / 491.8 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.112, allocations: 23.92 kB / 491.8 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1123, allocations: 91.81 kB / 491.9 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1125, allocations: 47.84 kB / 492 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.642e-05/0.1125, allocations: 7.984 kB / 492 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.1126, allocations: 27.91 kB / 492 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.1127, allocations: 19.86 kB / 492 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1127, allocations: 0 / 492 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-05/0.1128, allocations: 24 kB / 492.1 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.1128, allocations: 23.92 kB / 492.1 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.1129, allocations: 29.64 kB / 492.1 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.113, allocations: 59.91 kB / 492.2 MB, free: 9.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.113, allocations: 0 / 492.2 MB, free: 9.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.113, allocations: 0 / 492.2 MB, free: 9.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.113, allocations: 0 / 492.2 MB, free: 9.027 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.0004666/0.1135, allocations: 383.3 kB / 492.5 MB, free: 8.605 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1135, allocations: 15.95 kB / 492.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.1136, allocations: 11.86 kB / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1138, allocations: 183 kB / 492.7 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1138, allocations: 4 kB / 492.7 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1138, allocations: 0 / 492.7 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.114, allocations: 49.62 kB / 492.8 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.114, allocations: 0 / 492.8 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.114, allocations: 11.95 kB / 492.8 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.114, allocations: 0 / 492.8 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.823e-05/0.1141, allocations: 31.97 kB / 492.8 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1146, allocations: 276.9 kB / 493.1 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1148, allocations: 54.48 kB / 493.2 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.1148, allocations: 20.94 kB / 493.2 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1149, allocations: 7.953 kB / 493.2 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1149, allocations: 30.56 kB / 493.2 MB, free: 7.805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1149, allocations: 0 / 493.2 MB, free: 7.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005978/0.1155, allocations: 169.3 kB / 493.4 MB, free: 7.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1156, allocations: 51.41 kB / 493.4 MB, free: 7.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1157, allocations: 169.7 kB / 493.6 MB, free: 7.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1158, allocations: 25.7 kB / 493.6 MB, free: 7.363 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.1158, allocations: 100.1 kB / 493.7 MB, free: 7.262 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1158, allocations: 23.64 kB / 493.7 MB, free: 7.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.1159, allocations: 0 / 493.7 MB, free: 7.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.116, allocations: 318.8 kB / 494.1 MB, free: 6.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.946e-05/0.1161, allocations: 23.98 kB / 494.1 MB, free: 6.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.1161, allocations: 32.05 kB / 494.1 MB, free: 6.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.833e-05/0.1162, allocations: 31.92 kB / 494.1 MB, free: 6.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1162, allocations: 3.953 kB / 494.1 MB, free: 6.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001981/0.1164, allocations: 101.5 kB / 494.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1165, allocations: 4 kB / 494.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1165, allocations: 0 / 494.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1165, allocations: 0 / 494.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.1166, allocations: 15.98 kB / 494.3 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1166, allocations: 0 / 494.3 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.1166, allocations: 11.94 kB / 494.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1166, allocations: 4 kB / 494.3 MB, free: 6.688 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 8.128e-05/0.1167, allocations: 121.8 kB / 494.4 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.1168, allocations: 11.86 kB / 494.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.117, allocations: 105.9 kB / 494.5 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.117, allocations: 0 / 494.5 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.117, allocations: 4 kB / 494.5 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.117, allocations: 0 / 494.5 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.1175, allocations: 362.5 kB / 494.9 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1175, allocations: 0 / 494.9 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.1175, allocations: 15.98 kB / 494.9 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1175, allocations: 4 kB / 494.9 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1176, allocations: 320 / 494.9 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1176, allocations: 3.938 kB / 494.9 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1176, allocations: 4 kB / 494.9 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1178, allocations: 199.4 kB / 495.1 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.1179, allocations: 81.02 kB / 495.2 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1179, allocations: 3.984 kB / 495.2 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/0.118, allocations: 8 kB / 495.2 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.118, allocations: 4 kB / 495.2 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.118, allocations: 4 kB / 495.2 MB, free: 5.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.871e-05/0.1181, allocations: 130.7 kB / 495.3 MB, free: 5.543 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1181, allocations: 0 / 495.3 MB, free: 5.543 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.1183, allocations: 16 kB / 495.3 MB, free: 5.527 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.0007713/0.1191, allocations: 412.5 kB / 495.7 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1193, allocations: 55.91 kB / 495.8 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1193, allocations: 0 / 495.8 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/0.1194, allocations: 31.98 kB / 495.8 MB, free: 5.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1198, allocations: 19.94 kB / 495.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.1202, allocations: 231.3 kB / 496.1 MB, free: 4.801 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1205, allocations: 0.7081 MB / 496.8 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.1205, allocations: 11.44 kB / 496.8 MB, free: 4.055 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1205, allocations: 0 / 496.8 MB, free: 4.055 MB / 378.7 MB Notification: Performance of Templates: time 0.002877/0.1234, allocations: 1.415 MB / 498.2 MB, free: 2.641 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches