Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001589, allocations: 110 kB / 18.3 MB, free: 4.84 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.002052/0.002052, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.409/1.409, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2052/0.2052, allocations: 44.19 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.59 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003388/0.1065, allocations: 1.557 MB / 471.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007751/0.1073, allocations: 407.3 kB / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.1074, allocations: 0 / 471.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.1076, allocations: 19.86 kB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1078, allocations: 39.78 kB / 471.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.1082, allocations: 115.3 kB / 472 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1083, allocations: 63.78 kB / 472.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.1084, allocations: 8 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.1085, allocations: 23.91 kB / 472.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.1086, allocations: 15.88 kB / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1086, allocations: 4 kB / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.405e-05/0.1087, allocations: 31.98 kB / 472.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.1087, allocations: 23.91 kB / 472.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.1088, allocations: 19.88 kB / 472.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.109, allocations: 75.8 kB / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.109, allocations: 0 / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.109, allocations: 0 / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.109, allocations: 0 / 472.3 MB, free: 11.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004835/0.1095, allocations: 387.3 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1095, allocations: 8.031 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.1096, allocations: 8.844 kB / 472.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.1098, allocations: 180.3 kB / 472.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1098, allocations: 8.359 kB / 472.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1098, allocations: 8.359 kB / 472.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.11, allocations: 49.81 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.11, allocations: 4 kB / 472.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.11, allocations: 0 / 472.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.11, allocations: 0 / 472.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.679e-05/0.1101, allocations: 23.92 kB / 473 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.1105, allocations: 292.8 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.1108, allocations: 42.56 kB / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.1108, allocations: 20.94 kB / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1109, allocations: 0 / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1109, allocations: 34.5 kB / 473.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1109, allocations: 4 kB / 473.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005776/0.1115, allocations: 145.4 kB / 473.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1115, allocations: 55.34 kB / 473.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.1117, allocations: 152.2 kB / 473.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1117, allocations: 29.7 kB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.1117, allocations: 96.12 kB / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1118, allocations: 15.81 kB / 473.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.1118, allocations: 17.72 kB / 473.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1119, allocations: 322.8 kB / 474.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.38e-05/0.112, allocations: 19.98 kB / 474.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.179e-05/0.1121, allocations: 23.92 kB / 474.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.1123, allocations: 61 kB / 474.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1123, allocations: 4 kB / 474.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.1125, allocations: 85.45 kB / 474.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1125, allocations: 8 kB / 474.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1125, allocations: 0 / 474.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1125, allocations: 0 / 474.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.1126, allocations: 15.98 kB / 474.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1126, allocations: 4 kB / 474.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.1126, allocations: 0 / 474.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1127, allocations: 15.92 kB / 474.4 MB, free: 9.652 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/0.1127, allocations: 117.8 kB / 474.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.1128, allocations: 7.906 kB / 474.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.113, allocations: 101.9 kB / 474.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.113, allocations: 0 / 474.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.113, allocations: 0 / 474.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1131, allocations: 0 / 474.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.1135, allocations: 350.5 kB / 475 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1135, allocations: 0 / 475 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.1135, allocations: 15.98 kB / 475 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1136, allocations: 0 / 475 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1136, allocations: 0 / 475 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1136, allocations: 3.938 kB / 475 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1136, allocations: 192 / 475 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1138, allocations: 195.4 kB / 475.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.1139, allocations: 81.02 kB / 475.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1139, allocations: 4 kB / 475.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.114, allocations: 7.922 kB / 475.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.114, allocations: 4.281 kB / 475.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.114, allocations: 0 / 475.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.997e-05/0.1141, allocations: 123.2 kB / 475.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1141, allocations: 4 kB / 475.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.1144, allocations: 12 kB / 475.4 MB, free: 8.539 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: 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 (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.0009178/0.1153, allocations: 411.8 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1156, allocations: 63.89 kB / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1156, allocations: 0 / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.805e-05/0.1157, allocations: 27.98 kB / 475.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.116, allocations: 23.64 kB / 475.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.1164, allocations: 207.1 kB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.1167, allocations: 0.7039 MB / 476.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.1167, allocations: 15.44 kB / 476.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1167, allocations: 0 / 476.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of Templates: time 0.003174/0.1199, allocations: 1.413 MB / 478.3 MB, free: 5.785 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches