Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.00135/0.00135, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.374/1.374, allocations: 222.9 MB / 243 MB, free: 15.18 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.2094/0.2094, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 71.73 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1194, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002321/0.1218, allocations: 1.606 MB / 472.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006376/0.1224, allocations: 431.1 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.1225, allocations: 0 / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.1227, allocations: 43.81 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.1228, allocations: 39.8 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1231, allocations: 107.7 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1232, allocations: 79.88 kB / 473 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.1233, allocations: 31.92 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.1234, allocations: 27.92 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.1234, allocations: 39.83 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1235, allocations: 4 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.169e-05/0.1235, allocations: 43.92 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.1236, allocations: 27.91 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.1236, allocations: 31.75 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1238, allocations: 111.6 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1238, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1238, allocations: 4 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1238, allocations: 0 / 473.3 MB, free: 11.04 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003557/0.1242, allocations: 403.1 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.354e-05/0.1242, allocations: 8.031 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.1242, allocations: 12.84 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1244, allocations: 196.1 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.1244, allocations: 384 / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1244, allocations: 8.375 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1246, allocations: 89.02 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1246, allocations: 3.938 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.1246, allocations: 0 / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-06/0.1246, allocations: 0 / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1247, allocations: 51.91 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.1251, allocations: 328.7 kB / 474.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1252, allocations: 66.5 kB / 474.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/0.1253, allocations: 24.84 kB / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.1253, allocations: 0 / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1253, allocations: 34.56 kB / 474.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.1253, allocations: 0 / 474.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000862/0.1262, allocations: 325.2 kB / 474.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1262, allocations: 51.41 kB / 474.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1263, allocations: 152.3 kB / 475 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1264, allocations: 29.7 kB / 475.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.1264, allocations: 108 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.1265, allocations: 47.3 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.1265, allocations: 29.72 kB / 475.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.1266, allocations: 322.8 kB / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.1267, allocations: 47.91 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.1268, allocations: 43.97 kB / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.127, allocations: 108.8 kB / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.127, allocations: 0 / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002367/0.1272, allocations: 152.7 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.1273, allocations: 4 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1273, allocations: 3.938 kB / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1273, allocations: 3.984 kB / 475.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.1274, allocations: 27.92 kB / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1274, allocations: 4 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.1274, allocations: 11.94 kB / 475.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1274, allocations: 0 / 475.9 MB, free: 8.176 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 (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 7.964e-05/0.1275, allocations: 129.8 kB / 476.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.1276, allocations: 7.906 kB / 476.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.1279, allocations: 190.9 kB / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1279, allocations: 4 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1279, allocations: 0 / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1279, allocations: 0 / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.1285, allocations: 491.1 kB / 476.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1285, allocations: 4 kB / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.957e-05/0.1286, allocations: 23.98 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1286, allocations: 3.938 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1286, allocations: 11.98 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1286, allocations: 0 / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1286, allocations: 0 / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.1289, allocations: 256.1 kB / 477 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.1289, allocations: 85.02 kB / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1289, allocations: 3.938 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.129, allocations: 11.98 kB / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.129, allocations: 7.984 kB / 477.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1291, allocations: 4 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.114e-05/0.1291, allocations: 123.2 kB / 477.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1291, allocations: 4 kB / 477.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1294, allocations: 24 kB / 477.3 MB, free: 6.703 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008495/0.1302, allocations: 468.2 kB / 477.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1305, allocations: 115.8 kB / 477.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1305, allocations: 0 / 477.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1306, allocations: 55.97 kB / 477.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.1308, allocations: 19.98 kB / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.1312, allocations: 258.9 kB / 478.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1314, allocations: 0.708 MB / 478.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.407e-05/0.1315, allocations: 28.53 kB / 478.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.1316, allocations: 19.42 kB / 479 MB, free: 5.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1316, allocations: 4 kB / 479 MB, free: 5.176 MB / 350.1 MB Notification: Performance of Templates: time 0.4013/0.5328, allocations: 1.546 MB / 480.5 MB, free: 3.641 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches