Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001186/0.001186, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.385/1.385, allocations: 222.9 MB / 243 MB, free: 15.09 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.2118/0.2118, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 65.78 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1054, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002309/0.1078, allocations: 1.583 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006162/0.1084, allocations: 411.2 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.1085, allocations: 4 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1087, allocations: 123.6 kB / 472.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.1088, allocations: 83.77 kB / 472.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.109, allocations: 119.4 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1092, allocations: 87.81 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.1092, allocations: 20.16 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.1093, allocations: 43.83 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.1094, allocations: 79.86 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.1094, allocations: 0 / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-05/0.1095, allocations: 51.91 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.1095, allocations: 27.86 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.1095, allocations: 39.67 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1097, allocations: 111.6 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1097, allocations: 0 / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1097, allocations: 0 / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.585e-06/0.1097, allocations: 0 / 473.5 MB, free: 10.88 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.0003414/0.11, allocations: 430.8 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.205e-05/0.1101, allocations: 8.031 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.1101, allocations: 8.844 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1102, allocations: 215.8 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.1103, allocations: 4.375 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.1103, allocations: 8.312 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1104, allocations: 57.61 kB / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1104, allocations: 0 / 474.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-06/0.1104, allocations: 4 kB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1104, allocations: 4 kB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.825e-05/0.1105, allocations: 23.97 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.1108, allocations: 316.6 kB / 474.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.389e-05/0.1109, allocations: 42.56 kB / 474.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.111, allocations: 20.94 kB / 474.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.111, allocations: 4.078 kB / 474.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.111, allocations: 34.56 kB / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1111, allocations: 0 / 474.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007139/0.1118, allocations: 244.9 kB / 474.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.1118, allocations: 51.41 kB / 474.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.112, allocations: 278.2 kB / 475.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.112, allocations: 25.7 kB / 475.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.1121, allocations: 116 kB / 475.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1121, allocations: 23.66 kB / 475.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.1122, allocations: 21.7 kB / 475.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1123, allocations: 330.8 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.146e-05/0.1123, allocations: 27.98 kB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.417e-05/0.1124, allocations: 31.97 kB / 475.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1126, allocations: 68.83 kB / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1126, allocations: 0 / 475.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001959/0.1128, allocations: 117.6 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/0.1128, allocations: 8 kB / 475.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.1128, allocations: 0 / 475.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.1128, allocations: 12.41 kB / 475.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.1129, allocations: 12 kB / 476 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1129, allocations: 8 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.113, allocations: 7.984 kB / 476 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.113, allocations: 8 kB / 476 MB, free: 8.129 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 8.601e-05/0.1131, allocations: 133.8 kB / 476.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.1131, allocations: 11.81 kB / 476.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.1134, allocations: 139 kB / 476.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1134, allocations: 4 kB / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1134, allocations: 3.938 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.1134, allocations: 0 / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.1138, allocations: 423.3 kB / 476.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1139, allocations: 4.031 kB / 476.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.1139, allocations: 19.92 kB / 476.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1139, allocations: 4 kB / 476.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1139, allocations: 3.938 kB / 476.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.114, allocations: 0 / 476.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.114, allocations: 3.938 kB / 476.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1142, allocations: 220.1 kB / 476.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.1142, allocations: 96.84 kB / 477 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1143, allocations: 0 / 477 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1143, allocations: 8 kB / 477 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.1144, allocations: 7.984 kB / 477 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1144, allocations: 0 / 477 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1145, allocations: 199.2 kB / 477.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1145, allocations: 0 / 477.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.1148, allocations: 27.98 kB / 477.3 MB, free: 6.738 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.000864/0.1156, allocations: 457.8 kB / 477.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1158, allocations: 75.89 kB / 477.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1158, allocations: 4 kB / 477.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.1159, allocations: 40.08 kB / 477.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.1162, allocations: 22.89 kB / 477.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.1167, allocations: 323.3 kB / 478.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1169, allocations: 0.7197 MB / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.32e-05/0.117, allocations: 16.66 kB / 478.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.117, allocations: 15.42 kB / 478.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.117, allocations: 0 / 478.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of Templates: time 0.4215/0.5386, allocations: 1.386 MB / 480.3 MB, free: 3.824 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches