Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009359/0.0009359, allocations: 99.02 kB / 18.01 MB, free: 5.734 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.0008632/0.0008632, allocations: 180.8 kB / 18.91 MB, free: 4.871 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.405/1.405, allocations: 223.3 MB / 243 MB, free: 14.48 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.2025/0.2025, allocations: 44.25 MB / 338.3 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003649, allocations: 10.5 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1088, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002001/0.1109, allocations: 1.294 MB / 474.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008024/0.1117, allocations: 403.4 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.1118, allocations: 3.938 kB / 474.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.112, allocations: 67.84 kB / 474.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1122, allocations: 59.86 kB / 474.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.1125, allocations: 94.2 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.1127, allocations: 71.77 kB / 474.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1128, allocations: 20.17 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.591e-05/0.1129, allocations: 27.84 kB / 474.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1131, allocations: 51.88 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1131, allocations: 0 / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1132, allocations: 47.92 kB / 475 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.1133, allocations: 19.92 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.1133, allocations: 53.45 kB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1135, allocations: 76.16 kB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1135, allocations: 0 / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1135, allocations: 0 / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1135, allocations: 0 / 475.2 MB, free: 11.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004452/0.114, allocations: 395 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.114, allocations: 8.031 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.1141, allocations: 12.84 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1143, allocations: 200.1 kB / 475.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1143, allocations: 4.375 kB / 475.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1143, allocations: 4.375 kB / 475.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1145, allocations: 57.62 kB / 475.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1145, allocations: 7.891 kB / 475.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1145, allocations: 0 / 475.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1145, allocations: 0 / 475.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1147, allocations: 35.92 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.1151, allocations: 296.8 kB / 476.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1152, allocations: 46.56 kB / 476.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.1153, allocations: 28.88 kB / 476.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1153, allocations: 4 kB / 476.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1153, allocations: 30.56 kB / 476.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1153, allocations: 0 / 476.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009595/0.1163, allocations: 269.4 kB / 476.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1164, allocations: 55.41 kB / 476.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1166, allocations: 210.1 kB / 476.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1166, allocations: 29.7 kB / 476.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.1167, allocations: 104 kB / 476.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1167, allocations: 23.66 kB / 477 MB, free: 9.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.1168, allocations: 9.719 kB / 477 MB, free: 9.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1169, allocations: 330.8 kB / 477.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.064e-05/0.117, allocations: 35.97 kB / 477.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.1171, allocations: 31.98 kB / 477.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.1173, allocations: 92.98 kB / 477.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1173, allocations: 0 / 477.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000251/0.1175, allocations: 117.5 kB / 477.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1176, allocations: 4 kB / 477.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1176, allocations: 4 kB / 477.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1176, allocations: 96 / 477.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1177, allocations: 31.97 kB / 477.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1177, allocations: 3.938 kB / 477.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1178, allocations: 7.938 kB / 477.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1178, allocations: 4 kB / 477.6 MB, free: 8.359 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 (8): * Single equations (assignments): 8 * 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 0.0001079/0.1179, allocations: 130.3 kB / 477.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.1179, allocations: 11.91 kB / 477.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.1183, allocations: 138.3 kB / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1183, allocations: 0 / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1183, allocations: 7.938 kB / 477.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1183, allocations: 4 kB / 477.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.1188, allocations: 427.2 kB / 478.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1189, allocations: 0 / 478.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.1189, allocations: 23.88 kB / 478.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.119, allocations: 4 kB / 478.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.119, allocations: 7.984 kB / 478.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.119, allocations: 0 / 478.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.119, allocations: 4.031 kB / 478.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.1193, allocations: 212.3 kB / 478.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1193, allocations: 92.94 kB / 478.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1194, allocations: 4 kB / 478.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.1194, allocations: 8 kB / 478.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.1195, allocations: 11.98 kB / 478.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.1195, allocations: 0 / 478.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1196, allocations: 155.2 kB / 478.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.645e-06/0.1197, allocations: 0 / 478.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1199, allocations: 19.94 kB / 478.9 MB, free: 7.012 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00107/0.121, allocations: 462.9 kB / 479.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.1212, allocations: 87.94 kB / 479.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1213, allocations: 0 / 479.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.1214, allocations: 43.91 kB / 479.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1217, allocations: 27.88 kB / 479.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.1222, allocations: 316 kB / 479.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1225, allocations: 0.7043 MB / 480.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.1226, allocations: 23.42 kB / 480.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1226, allocations: 0 / 480.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of Templates: time 0.003758/0.1263, allocations: 1.733 MB / 482.2 MB, free: 3.75 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches