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.001135/0.001135, allocations: 110.3 kB / 17.98 MB, free: 5.379 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.001275/0.001275, allocations: 189.4 kB / 18.9 MB, free: 4.461 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.372/1.372, allocations: 222.9 MB / 242.6 MB, free: 13.71 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.2042/0.2042, allocations: 44.17 MB / 336.9 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 71.83 kB / 408.5 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1059, allocations: 60.83 MB / 469.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002891/0.1088, allocations: 1.628 MB / 471 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006787/0.1095, allocations: 411.3 kB / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.1096, allocations: 0 / 471.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.1098, allocations: 19.86 kB / 471.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.11, allocations: 31.91 kB / 471.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.1103, allocations: 99.81 kB / 471.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1104, allocations: 59.78 kB / 471.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.1105, allocations: 12 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.1106, allocations: 19.92 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.1106, allocations: 23.84 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1106, allocations: 8 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.691e-05/0.1107, allocations: 35.92 kB / 471.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.1108, allocations: 11.94 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.1108, allocations: 15.88 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1109, allocations: 55.86 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1109, allocations: 4 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1109, allocations: 0 / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1109, allocations: 0 / 471.8 MB, free: 12.26 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.0004546/0.1114, allocations: 387.4 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1115, allocations: 16.03 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1115, allocations: 8.844 kB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1117, allocations: 184.3 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1117, allocations: 384 / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1117, allocations: 384 / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1119, allocations: 53.75 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1119, allocations: 0 / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1119, allocations: 0 / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1119, allocations: 4 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/0.112, allocations: 23.97 kB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.1124, allocations: 288.8 kB / 472.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1126, allocations: 42.5 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.1127, allocations: 20.94 kB / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1127, allocations: 0 / 472.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.1127, allocations: 34.56 kB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1127, allocations: 0 / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005992/0.1133, allocations: 149.6 kB / 473 MB, free: 10.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1134, allocations: 51.41 kB / 473 MB, free: 10.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1135, allocations: 159.9 kB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1136, allocations: 29.7 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.1136, allocations: 96.08 kB / 473.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.1136, allocations: 11.81 kB / 473.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1137, allocations: 21.7 kB / 473.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1138, allocations: 322.8 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.1139, allocations: 23.97 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.114, allocations: 19.98 kB / 473.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1141, allocations: 60.7 kB / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1141, allocations: 0 / 473.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001693/0.1143, allocations: 85.83 kB / 473.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1143, allocations: 7.984 kB / 473.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1143, allocations: 0 / 473.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1143, allocations: 0 / 473.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.423e-05/0.1144, allocations: 15.98 kB / 473.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1144, allocations: 0 / 473.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.1144, allocations: 11.98 kB / 473.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1145, allocations: 7.938 kB / 473.9 MB, free: 9.945 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 8.735e-05/0.1146, allocations: 122.3 kB / 474 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.1146, allocations: 7.906 kB / 474 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.1149, allocations: 97.89 kB / 474.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1149, allocations: 0 / 474.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.115, allocations: 0 / 474.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.115, allocations: 8 kB / 474.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.1154, allocations: 358.4 kB / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1154, allocations: 0 / 474.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.1154, allocations: 8 kB / 474.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1154, allocations: 3.984 kB / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1154, allocations: 4 kB / 474.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1155, allocations: 3.938 kB / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1155, allocations: 4 kB / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1157, allocations: 175.4 kB / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.1157, allocations: 85.02 kB / 474.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1158, allocations: 4 kB / 474.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.1158, allocations: 8.125 kB / 474.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1159, allocations: 7.922 kB / 474.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1159, allocations: 12 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.833e-05/0.116, allocations: 119.2 kB / 474.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.116, allocations: 3.938 kB / 474.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1162, allocations: 12 kB / 474.9 MB, free: 8.816 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.0009285/0.1171, allocations: 396.3 kB / 475.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1173, allocations: 47.97 kB / 475.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1174, allocations: 4 kB / 475.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.921e-05/0.1174, allocations: 27.92 kB / 475.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.1178, allocations: 18.48 kB / 475.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.1182, allocations: 227.1 kB / 475.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1185, allocations: 0.704 MB / 476.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.1185, allocations: 11.44 kB / 476.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1185, allocations: 0 / 476.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of Templates: time 0.003043/0.1216, allocations: 1.426 MB / 477.8 MB, free: 6.066 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