Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001424/0.001424, allocations: 191 kB / 19.34 MB, free: 3.766 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.352/1.352, 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.2036/0.2036, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.94 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1105, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.00282/0.1133, allocations: 1.548 MB / 472.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1148, allocations: 1.023 MB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.1148, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.115, allocations: 23.84 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1152, allocations: 51.72 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1155, allocations: 111.1 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1156, allocations: 55.84 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.1157, allocations: 8 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.61e-05/0.1158, allocations: 27.84 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1159, allocations: 27.92 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1159, allocations: 0 / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.1161, allocations: 59.95 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.886e-05/0.1161, allocations: 7.875 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.1161, allocations: 19.88 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1163, allocations: 91.77 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1163, allocations: 0 / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1163, allocations: 0 / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1163, allocations: 0 / 473.8 MB, free: 10.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004125/0.1168, allocations: 387.2 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1168, allocations: 8.031 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.1168, allocations: 8.844 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.117, allocations: 192.2 kB / 474.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.117, allocations: 384 / 474.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.1171, allocations: 4.312 kB / 474.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1172, allocations: 71.52 kB / 474.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1172, allocations: 4 kB / 474.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.1172, allocations: 0 / 474.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1172, allocations: 4 kB / 474.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/0.1173, allocations: 19.98 kB / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.1177, allocations: 280.8 kB / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.1179, allocations: 46.55 kB / 474.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.1179, allocations: 16.86 kB / 474.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1179, allocations: 0 / 474.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.118, allocations: 38.64 kB / 474.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.118, allocations: 0 / 474.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.00049/0.1185, allocations: 141.3 kB / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.1186, allocations: 77.11 kB / 475 MB, free: 9.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1187, allocations: 141.8 kB / 475.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1187, allocations: 25.7 kB / 475.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.1188, allocations: 100.1 kB / 475.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.1188, allocations: 15.73 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1188, allocations: 21.72 kB / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1189, allocations: 322.8 kB / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-05/0.119, allocations: 19.98 kB / 475.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-05/0.1191, allocations: 41.64 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1192, allocations: 56.75 kB / 475.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1193, allocations: 3.938 kB / 475.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001712/0.1194, allocations: 85.58 kB / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1194, allocations: 4 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1195, allocations: 0 / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1195, allocations: 4.031 kB / 475.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.1195, allocations: 11.98 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1196, allocations: 4 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/0.1196, allocations: 3.938 kB / 475.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1196, allocations: 4 kB / 475.9 MB, free: 8.23 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 (5): * Single equations (assignments): 5 * 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.404e-05/0.1197, allocations: 121.8 kB / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.1197, allocations: 7.906 kB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.12, allocations: 101.9 kB / 476.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.12, allocations: 0 / 476.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.12, allocations: 0 / 476.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.12, allocations: 7.984 kB / 476.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.1204, allocations: 350.4 kB / 476.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1204, allocations: 0 / 476.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.996e-05/0.1205, allocations: 12 kB / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1205, allocations: 0 / 476.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1205, allocations: 4 kB / 476.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1205, allocations: 3.938 kB / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1205, allocations: 0 / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1207, allocations: 187.4 kB / 476.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.1208, allocations: 77.39 kB / 476.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1208, allocations: 7.984 kB / 476.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.1209, allocations: 11.94 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1209, allocations: 7.984 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1209, allocations: 3.984 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.787e-05/0.121, allocations: 103.3 kB / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.121, allocations: 0 / 476.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1213, allocations: 23.91 kB / 476.9 MB, free: 7.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009308/0.1222, allocations: 445.5 kB / 477.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1224, allocations: 55.89 kB / 477.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1224, allocations: 0 / 477.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/0.1225, allocations: 27.92 kB / 477.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.1228, allocations: 19.92 kB / 477.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.1231, allocations: 161.5 kB / 477.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1234, allocations: 0.6885 MB / 478.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.817e-05/0.1234, allocations: 20.22 kB / 478.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.1235, allocations: 15.42 kB / 478.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1235, allocations: 0 / 478.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of Templates: time 0.003641/0.1271, allocations: 1.367 MB / 479.7 MB, free: 4.453 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches