Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001099, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001064/0.001064, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.384/1.384, allocations: 222.9 MB / 242.9 MB, free: 15.17 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.2031/0.2031, allocations: 44.19 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001291, allocations: 64.56 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003912/0.1194, allocations: 1.696 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.1215, allocations: 0.8808 MB / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1217, allocations: 0 / 472.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.1222, allocations: 59.73 kB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.1227, allocations: 51.77 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.1232, allocations: 115.5 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1234, allocations: 95.7 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1235, allocations: 16.22 kB / 472.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1236, allocations: 43.77 kB / 472.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.701e-05/0.1238, allocations: 31.86 kB / 472.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1238, allocations: 4 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1239, allocations: 39.97 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.124, allocations: 27.86 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.388e-05/0.1241, allocations: 35.69 kB / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.1244, allocations: 135.8 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1244, allocations: 4 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1244, allocations: 0 / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.1244, allocations: 0 / 473.2 MB, free: 11.12 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.000638/0.125, allocations: 434.7 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1251, allocations: 8.031 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.1251, allocations: 16.75 kB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1254, allocations: 216 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1254, allocations: 8.312 kB / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.1255, allocations: 4.125 kB / 473.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1257, allocations: 65.67 kB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1257, allocations: 3.984 kB / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1257, allocations: 0 / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1257, allocations: 0 / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.287e-05/0.1258, allocations: 23.98 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.1262, allocations: 284.9 kB / 474.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1264, allocations: 66.61 kB / 474.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.1265, allocations: 16.86 kB / 474.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1265, allocations: 0 / 474.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.1267, allocations: 71.38 kB / 474.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.1267, allocations: 0 / 474.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005841/0.1273, allocations: 189 kB / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.1274, allocations: 51.41 kB / 474.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.1276, allocations: 266.9 kB / 474.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1277, allocations: 25.7 kB / 474.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.1278, allocations: 112.1 kB / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1278, allocations: 23.7 kB / 475 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.1278, allocations: 21.72 kB / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.128, allocations: 334.8 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.012e-05/0.1281, allocations: 27.94 kB / 475.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.1281, allocations: 37.64 kB / 475.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1282, allocations: 53.7 kB / 475.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1283, allocations: 7.938 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001978/0.1285, allocations: 109.5 kB / 475.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1285, allocations: 11.98 kB / 475.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1285, allocations: 4.031 kB / 475.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1285, allocations: 0 / 475.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.1286, allocations: 12 kB / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1286, allocations: 4 kB / 475.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.1287, allocations: 3.938 kB / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.1287, allocations: 11.92 kB / 475.6 MB, free: 8.41 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.000113/0.1288, allocations: 140.4 kB / 475.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1289, allocations: 11.81 kB / 475.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.1289, allocations: 21.41 kB / 475.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1289, allocations: 8 kB / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1289, allocations: 384 / 475.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.129, allocations: 11.91 kB / 475.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.1294, allocations: 391.3 kB / 476.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1294, allocations: 4 kB / 476.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.1295, allocations: 11.98 kB / 476.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1295, allocations: 0 / 476.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1295, allocations: 7.938 kB / 476.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1295, allocations: 4.031 kB / 476.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1295, allocations: 0 / 476.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1297, allocations: 208.1 kB / 476.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1298, allocations: 88.92 kB / 476.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.1298, allocations: 11.94 kB / 476.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.1299, allocations: 3.984 kB / 476.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.13, allocations: 8 kB / 476.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.13, allocations: 4 kB / 476.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1302, allocations: 204.2 kB / 476.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1302, allocations: 0 / 476.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1304, allocations: 24 kB / 476.8 MB, free: 7.168 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.001088/0.1315, allocations: 461.1 kB / 477.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1318, allocations: 59.91 kB / 477.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1318, allocations: 4 kB / 477.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.269e-05/0.1319, allocations: 31.92 kB / 477.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1322, allocations: 28.23 kB / 477.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.1328, allocations: 317.5 kB / 477.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1331, allocations: 0.7265 MB / 478.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.1332, allocations: 15.44 kB / 478.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1332, allocations: 0 / 478.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of Templates: time 0.004288/0.1375, allocations: 2.045 MB / 480.4 MB, free: 3.621 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches