Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 108.4 kB / 17.98 MB, free: 5.355 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.00177/0.00177, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.33/1.33, allocations: 222.9 MB / 242.6 MB, free: 15.42 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.22/0.22, allocations: 44.17 MB / 336.9 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 68.22 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09849/0.09993, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003255/0.1032, allocations: 1.761 MB / 471.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1047, allocations: 0.8614 MB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.439e-05/0.1048, allocations: 0 / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.1051, allocations: 31.84 kB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.1054, allocations: 47.83 kB / 472.1 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1057, allocations: 98.44 kB / 472.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1059, allocations: 95.64 kB / 472.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.106, allocations: 12.22 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.1061, allocations: 47.78 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.1062, allocations: 31.86 kB / 472.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1062, allocations: 4 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1063, allocations: 39.98 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.1064, allocations: 23.91 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.1064, allocations: 31.75 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1066, allocations: 92.03 kB / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1066, allocations: 0 / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1066, allocations: 0 / 472.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1067, allocations: 0 / 472.6 MB, free: 11.53 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004924/0.1071, allocations: 407 kB / 473 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1072, allocations: 8.031 kB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.1072, allocations: 8.844 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1075, allocations: 197.8 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1075, allocations: 384 / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1075, allocations: 16.11 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1077, allocations: 53.61 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1077, allocations: 0 / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1077, allocations: 4 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1077, allocations: 4 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.1078, allocations: 19.98 kB / 473.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.1082, allocations: 284.8 kB / 473.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1084, allocations: 58.56 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.469e-05/0.1084, allocations: 20.84 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1084, allocations: 4 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.1086, allocations: 67.39 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.542e-06/0.1087, allocations: 0 / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005556/0.1092, allocations: 177.2 kB / 473.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1093, allocations: 51.41 kB / 473.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1094, allocations: 173.9 kB / 474.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1095, allocations: 33.64 kB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.1095, allocations: 100.1 kB / 474.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.1096, allocations: 23.66 kB / 474.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1096, allocations: 29.7 kB / 474.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1097, allocations: 326.8 kB / 474.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.1098, allocations: 19.98 kB / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.1099, allocations: 37.66 kB / 474.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.11, allocations: 61.7 kB / 474.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.11, allocations: 0 / 474.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001898/0.1102, allocations: 109.8 kB / 474.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1102, allocations: 8 kB / 474.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1102, allocations: 0 / 474.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1102, allocations: 0 / 474.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.1103, allocations: 16 kB / 474.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1104, allocations: 4 kB / 474.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.1104, allocations: 15.95 kB / 474.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1104, allocations: 4 kB / 474.8 MB, free: 9.004 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001051/0.1105, allocations: 121.8 kB / 475 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.1106, allocations: 7.906 kB / 475 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.1106, allocations: 16.7 kB / 475 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1106, allocations: 0 / 475 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1106, allocations: 4 kB / 475 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1106, allocations: 3.938 kB / 475 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.1111, allocations: 387.3 kB / 475.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1111, allocations: 0 / 475.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.1111, allocations: 8 kB / 475.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1111, allocations: 0 / 475.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1111, allocations: 11.92 kB / 475.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1112, allocations: 3.938 kB / 475.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1112, allocations: 0 / 475.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1114, allocations: 212.4 kB / 475.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.1115, allocations: 85.02 kB / 475.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.1115, allocations: 7.938 kB / 475.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.1116, allocations: 7.984 kB / 475.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.1116, allocations: 4 kB / 475.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1116, allocations: 0 / 475.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1117, allocations: 139.3 kB / 475.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1118, allocations: 4 kB / 475.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.112, allocations: 27.94 kB / 475.9 MB, free: 7.863 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001036/0.1131, allocations: 457.9 kB / 476.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.1133, allocations: 71.91 kB / 476.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1133, allocations: 0 / 476.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.1134, allocations: 31.92 kB / 476.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.1137, allocations: 27.92 kB / 476.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.1142, allocations: 264.6 kB / 476.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.1145, allocations: 0.7041 MB / 477.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.1145, allocations: 19.42 kB / 477.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1145, allocations: 0 / 477.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of Templates: time 0.003664/0.1182, allocations: 1.887 MB / 479.3 MB, free: 4.547 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches