Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 110.1 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.001406/0.001406, allocations: 199.3 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.363/1.363, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.3305/0.3305, allocations: 44.17 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 69.23 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09979, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.00274/0.1026, allocations: 1.556 MB / 471.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1039, allocations: 1.02 MB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.104, allocations: 0 / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.1042, allocations: 19.84 kB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1044, allocations: 43.84 kB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.1046, allocations: 91.33 kB / 472.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.1048, allocations: 63.83 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.1049, allocations: 8 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.318e-05/0.1049, allocations: 23.86 kB / 472.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1051, allocations: 31.84 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1051, allocations: 0 / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1052, allocations: 47.98 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.1052, allocations: 11.92 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1053, allocations: 23.86 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1054, allocations: 87.78 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1055, allocations: 4 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1055, allocations: 0 / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1055, allocations: 0 / 472.9 MB, free: 11.34 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.0004141/0.1059, allocations: 375.5 kB / 473.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.1059, allocations: 8.031 kB / 473.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.106, allocations: 8.844 kB / 473.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.1062, allocations: 192.2 kB / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-06/0.1062, allocations: 384 / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.1062, allocations: 4.375 kB / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1063, allocations: 67.53 kB / 473.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1064, allocations: 0 / 473.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1064, allocations: 3.984 kB / 473.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1064, allocations: 0 / 473.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.1065, allocations: 31.84 kB / 473.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.1068, allocations: 272.9 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.107, allocations: 38.56 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.1071, allocations: 16.94 kB / 473.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1071, allocations: 4 kB / 473.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1071, allocations: 34.5 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1072, allocations: 0 / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005215/0.1077, allocations: 137.3 kB / 474.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.1077, allocations: 85.05 kB / 474.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1079, allocations: 137.8 kB / 474.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1079, allocations: 29.64 kB / 474.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.108, allocations: 96.12 kB / 474.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.108, allocations: 15.75 kB / 474.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.108, allocations: 21.72 kB / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1081, allocations: 322.8 kB / 474.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.1082, allocations: 20.05 kB / 474.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.1083, allocations: 33.7 kB / 474.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1084, allocations: 44.83 kB / 474.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1084, allocations: 4.031 kB / 474.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001791/0.1086, allocations: 81.52 kB / 475 MB, free: 9.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1086, allocations: 8 kB / 475 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1087, allocations: 0 / 475 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1087, allocations: 0 / 475 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.1087, allocations: 11.98 kB / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1088, allocations: 0 / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.1088, allocations: 4 kB / 475 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1088, allocations: 7.984 kB / 475 MB, free: 9.023 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.284e-05/0.1089, allocations: 125.8 kB / 475.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.1089, allocations: 3.906 kB / 475.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.1092, allocations: 89.56 kB / 475.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1092, allocations: 0 / 475.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1092, allocations: 0 / 475.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1092, allocations: 0 / 475.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.1096, allocations: 346.5 kB / 475.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1096, allocations: 4.297 kB / 475.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.1097, allocations: 15.94 kB / 475.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1097, allocations: 4 kB / 475.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1097, allocations: 0 / 475.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1097, allocations: 3.938 kB / 475.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1097, allocations: 3.938 kB / 475.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1099, allocations: 179.4 kB / 475.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.11, allocations: 77.11 kB / 475.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.11, allocations: 8 kB / 475.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1101, allocations: 7.922 kB / 475.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.1101, allocations: 4 kB / 475.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1101, allocations: 0 / 475.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.119e-05/0.1102, allocations: 105.6 kB / 476 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1102, allocations: 4 kB / 476 MB, free: 7.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1105, allocations: 27.89 kB / 476 MB, free: 7.93 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.0009486/0.1114, allocations: 448.6 kB / 476.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1116, allocations: 51.91 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1117, allocations: 0 / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.217e-05/0.1117, allocations: 23.98 kB / 476.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1121, allocations: 19.64 kB / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.1124, allocations: 187.1 kB / 476.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.1127, allocations: 0.6846 MB / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.1127, allocations: 19.44 kB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1127, allocations: 0 / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of Templates: time 0.003004/0.1157, allocations: 1.558 MB / 479 MB, free: 5.066 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches