Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009272/0.0009272, allocations: 98.47 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.001015/0.001015, allocations: 176.9 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.331/1.331, allocations: 223.3 MB / 243 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1949/0.1949, allocations: 44.25 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003023, allocations: 11.94 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09823, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002067/0.1003, allocations: 1.499 MB / 474.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1026, allocations: 1.51 MB / 475.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.478e-05/0.1027, allocations: 0 / 475.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.103, allocations: 47.81 kB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.1033, allocations: 75.69 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.1038, allocations: 158.8 kB / 476.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.104, allocations: 167.5 kB / 476.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.624e-05/0.1041, allocations: 17.55 kB / 476.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.1043, allocations: 71.58 kB / 476.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1045, allocations: 71.62 kB / 476.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.1045, allocations: 4 kB / 476.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1047, allocations: 59.95 kB / 476.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.1048, allocations: 23.92 kB / 476.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.1049, allocations: 85.3 kB / 476.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1051, allocations: 132 kB / 476.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1051, allocations: 0 / 476.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1051, allocations: 0 / 476.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1051, allocations: 4 kB / 476.8 MB, free: 9.391 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006722/0.1058, allocations: 441.1 kB / 477.3 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1059, allocations: 15.97 kB / 477.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.1059, allocations: 20.73 kB / 477.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.1063, allocations: 236 kB / 477.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1063, allocations: 4.312 kB / 477.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.1063, allocations: 8.125 kB / 477.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.1066, allocations: 101.1 kB / 477.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1066, allocations: 0 / 477.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1066, allocations: 0 / 477.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1066, allocations: 0 / 477.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.1067, allocations: 35.91 kB / 477.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.107, allocations: 218.5 kB / 477.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.1073, allocations: 105.2 kB / 478 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.481e-05/0.1074, allocations: 45.58 kB / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.1074, allocations: 3.984 kB / 478 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.1077, allocations: 117 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.1077, allocations: 0 / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004429/0.1082, allocations: 157.4 kB / 478.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.1083, allocations: 136.5 kB / 478.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.1085, allocations: 215.7 kB / 478.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1085, allocations: 33.7 kB / 478.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.1086, allocations: 108.1 kB / 478.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.1087, allocations: 31.64 kB / 478.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.1087, allocations: 13.72 kB / 478.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1088, allocations: 330.8 kB / 479.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.1089, allocations: 27.98 kB / 479.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.109, allocations: 69.14 kB / 479.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.1092, allocations: 91.34 kB / 479.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1092, allocations: 0 / 479.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000267/0.1095, allocations: 137.4 kB / 479.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1095, allocations: 10.5 kB / 479.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1095, allocations: 0 / 479.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1095, allocations: 0 / 479.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1097, allocations: 28.55 kB / 479.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1097, allocations: 0 / 479.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.711e-05/0.1098, allocations: 23.83 kB / 479.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1098, allocations: 4 kB / 479.5 MB, free: 6.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000114/0.1099, allocations: 138.3 kB / 479.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.1099, allocations: 15.81 kB / 479.7 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.11, allocations: 24.98 kB / 479.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.11, allocations: 0 / 479.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.11, allocations: 0 / 479.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.11, allocations: 4 kB / 479.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1102, allocations: 221.5 kB / 479.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1102, allocations: 3.938 kB / 479.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.1103, allocations: 4 kB / 479.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.1103, allocations: 7.984 kB / 479.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1103, allocations: 4 kB / 479.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1103, allocations: 4 kB / 480 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1103, allocations: 4 kB / 480 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.1106, allocations: 169.6 kB / 480.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.1107, allocations: 100.8 kB / 480.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1107, allocations: 4 kB / 480.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.1108, allocations: 12 kB / 480.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1109, allocations: 7.984 kB / 480.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.1109, allocations: 4 kB / 480.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1111, allocations: 156.2 kB / 480.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.1111, allocations: 0 / 480.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1114, allocations: 47.92 kB / 480.4 MB, free: 5.359 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001101/0.1125, allocations: 448.8 kB / 480.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.1127, allocations: 83.84 kB / 481 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1127, allocations: 0 / 481 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1128, allocations: 43.91 kB / 481 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1132, allocations: 56 kB / 481.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.1138, allocations: 336.5 kB / 481.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1141, allocations: 0.7127 MB / 482.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.1142, allocations: 27.42 kB / 482.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1142, allocations: 0 / 482.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of Templates: time 0.005347/0.1195, allocations: 2.7 MB / 484.8 MB, free: 1.098 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches