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.001122/0.001122, allocations: 108.3 kB / 18.4 MB, free: 4.719 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.001155/0.001155, allocations: 191 kB / 19.34 MB, free: 3.789 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.365/1.365, allocations: 222.9 MB / 243 MB, free: 15.13 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.2023/0.2023, allocations: 44.17 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 66.09 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 60.82 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003209/0.1082, allocations: 1.782 MB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1105, allocations: 1.565 MB / 474.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1106, allocations: 7.938 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.1109, allocations: 47.75 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.1112, allocations: 87.55 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1117, allocations: 170.6 kB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.112, allocations: 183.5 kB / 474.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.112, allocations: 17.47 kB / 474.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1121, allocations: 83.64 kB / 474.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.1124, allocations: 63.69 kB / 474.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.1124, allocations: 8 kB / 474.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.1126, allocations: 63.97 kB / 474.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.1126, allocations: 39.78 kB / 474.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.496e-05/0.1127, allocations: 51.66 kB / 474.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.113, allocations: 171.5 kB / 475 MB, free: 9.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.113, allocations: 0 / 475 MB, free: 9.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.113, allocations: 0 / 475 MB, free: 9.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.113, allocations: 0 / 475 MB, free: 9.285 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.0005732/0.1136, allocations: 466.6 kB / 475.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1136, allocations: 16.02 kB / 475.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.1137, allocations: 20.75 kB / 475.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.1141, allocations: 240.5 kB / 475.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1141, allocations: 4.375 kB / 475.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.1141, allocations: 4.125 kB / 475.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.1144, allocations: 105 kB / 475.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1144, allocations: 0 / 475.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1144, allocations: 0 / 475.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1144, allocations: 7.938 kB / 475.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1145, allocations: 31.97 kB / 475.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.1148, allocations: 210.5 kB / 476.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.115, allocations: 113.2 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.401e-05/0.1151, allocations: 41.64 kB / 476.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1151, allocations: 0 / 476.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.1153, allocations: 109 kB / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1154, allocations: 0 / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004149/0.1158, allocations: 177.7 kB / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.1159, allocations: 128.5 kB / 476.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.1161, allocations: 215.8 kB / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1161, allocations: 29.7 kB / 476.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.1162, allocations: 116.1 kB / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.1162, allocations: 27.69 kB / 477.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1163, allocations: 25.72 kB / 477.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1164, allocations: 330.8 kB / 477.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-05/0.1165, allocations: 28.11 kB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1166, allocations: 73.08 kB / 477.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.1167, allocations: 87.41 kB / 477.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1167, allocations: 0 / 477.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000263/0.117, allocations: 145.2 kB / 477.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.117, allocations: 8.094 kB / 477.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.117, allocations: 4 kB / 477.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1171, allocations: 0 / 477.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1172, allocations: 23.98 kB / 477.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1172, allocations: 0 / 477.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.487e-05/0.1173, allocations: 11.92 kB / 477.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1173, allocations: 8 kB / 477.8 MB, free: 6.227 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.0001017/0.1174, allocations: 133.7 kB / 477.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.1174, allocations: 15.81 kB / 477.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.1175, allocations: 24.97 kB / 478 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1175, allocations: 4 kB / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1175, allocations: 0 / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1175, allocations: 0 / 478 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1177, allocations: 221.4 kB / 478.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1177, allocations: 128 / 478.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.1177, allocations: 15.94 kB / 478.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1177, allocations: 0 / 478.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1178, allocations: 4 kB / 478.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1178, allocations: 0 / 478.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1178, allocations: 4 kB / 478.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.118, allocations: 173.6 kB / 478.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.1181, allocations: 88.95 kB / 478.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1181, allocations: 4 kB / 478.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.1182, allocations: 12.08 kB / 478.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1183, allocations: 11.88 kB / 478.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1183, allocations: 11.98 kB / 478.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1184, allocations: 157.5 kB / 478.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1184, allocations: 0 / 478.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1187, allocations: 43.98 kB / 478.7 MB, free: 5.219 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.001011/0.1197, allocations: 449.8 kB / 479.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.12, allocations: 83.89 kB / 479.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.12, allocations: 4 kB / 479.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1201, allocations: 35.92 kB / 479.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1204, allocations: 65.34 kB / 479.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.1209, allocations: 263.9 kB / 479.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1213, allocations: 0.7163 MB / 480.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.299e-05/0.1214, allocations: 34.02 kB / 480.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.1214, allocations: 35.36 kB / 480.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1214, allocations: 0 / 480.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of Templates: time 0.005995/0.1274, allocations: 2.633 MB / 483 MB, free: 1.07 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 -s gbode -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