Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 109.3 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.00175/0.00175, allocations: 184.1 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.382/1.382, allocations: 222.9 MB / 243 MB, free: 15.07 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.1936/0.1936, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 65.53 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1029, allocations: 60.83 MB / 470.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003091/0.106, allocations: 1.718 MB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1074, allocations: 0.8924 MB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.1075, allocations: 0 / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.1078, allocations: 83.7 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.1081, allocations: 67.72 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.1084, allocations: 118.5 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.1086, allocations: 111.7 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1087, allocations: 16 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.553e-05/0.1088, allocations: 55.75 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.1089, allocations: 51.83 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1089, allocations: 7.938 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.109, allocations: 63.97 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.1091, allocations: 27.84 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.1091, allocations: 35.75 kB / 473.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1094, allocations: 127.6 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1094, allocations: 3.938 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1094, allocations: 4 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1094, allocations: 0 / 474.1 MB, free: 10.23 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.000568/0.11, allocations: 422.9 kB / 474.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.11, allocations: 12.03 kB / 474.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.1101, allocations: 8.844 kB / 474.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1104, allocations: 215.9 kB / 474.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1104, allocations: 8.375 kB / 474.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.1104, allocations: 4.125 kB / 474.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1106, allocations: 69.59 kB / 474.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1106, allocations: 0 / 474.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1106, allocations: 4 kB / 474.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1106, allocations: 4 kB / 474.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.1107, allocations: 23.98 kB / 474.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.1111, allocations: 304.6 kB / 475.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.1114, allocations: 66.53 kB / 475.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.1115, allocations: 20.98 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1115, allocations: 4.062 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.1116, allocations: 71.38 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.276e-06/0.1117, allocations: 0 / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007584/0.1124, allocations: 245 kB / 475.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1125, allocations: 55.34 kB / 475.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.1127, allocations: 215.5 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1127, allocations: 29.7 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.1128, allocations: 100.1 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.1128, allocations: 39.55 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.1129, allocations: 25.7 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.113, allocations: 326.8 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.829e-05/0.1131, allocations: 31.98 kB / 476.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.1132, allocations: 41.7 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1133, allocations: 81.64 kB / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1133, allocations: 0 / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002261/0.1135, allocations: 133.5 kB / 476.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1136, allocations: 4 kB / 476.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1136, allocations: 4.031 kB / 476.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1136, allocations: 4 kB / 476.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.1137, allocations: 23.92 kB / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1137, allocations: 3.938 kB / 476.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.1137, allocations: 4 kB / 476.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1138, allocations: 8 kB / 476.6 MB, free: 7.434 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 (13): * Single equations (assignments): 13 * 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.0001067/0.1139, allocations: 129.8 kB / 476.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.1139, allocations: 11.81 kB / 476.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.114, allocations: 17.41 kB / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.114, allocations: 4 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.114, allocations: 3.938 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.114, allocations: 3.984 kB / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.1145, allocations: 451.9 kB / 477.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1145, allocations: 0 / 477.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.1145, allocations: 23.92 kB / 477.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1146, allocations: 4 kB / 477.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1146, allocations: 8.062 kB / 477.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1146, allocations: 0 / 477.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1146, allocations: 0 / 477.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1149, allocations: 236.9 kB / 477.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.1149, allocations: 85.02 kB / 477.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.115, allocations: 4 kB / 477.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.115, allocations: 8 kB / 477.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.1151, allocations: 11.92 kB / 477.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1151, allocations: 8 kB / 477.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1152, allocations: 160.2 kB / 477.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1152, allocations: 0 / 477.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1155, allocations: 31.98 kB / 477.8 MB, free: 6.145 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001144/0.1167, allocations: 0.5024 MB / 478.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.1169, allocations: 79.91 kB / 478.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1169, allocations: 0 / 478.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.117, allocations: 39.92 kB / 478.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.1174, allocations: 48.39 kB / 478.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.1179, allocations: 272.4 kB / 478.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1182, allocations: 0.7194 MB / 479.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.1183, allocations: 16.64 kB / 479.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.1183, allocations: 15.44 kB / 479.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1183, allocations: 0 / 479.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of Templates: time 0.004623/0.123, allocations: 1.961 MB / 481.5 MB, free: 2.668 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches