Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001172, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001355, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.09 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 78.12 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1171, allocations: 62.44 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004114/0.1212, allocations: 1.727 MB / 482.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1236, allocations: 1.025 MB / 483.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.162e-05/0.1237, allocations: 4 kB / 483.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.1241, allocations: 31.78 kB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.1245, allocations: 99.53 kB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1248, allocations: 79.66 kB / 483.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.125, allocations: 99.7 kB / 483.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.1252, allocations: 23.97 kB / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1253, allocations: 43.78 kB / 483.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1254, allocations: 35.8 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.1255, allocations: 4 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.1256, allocations: 43.97 kB / 483.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.1257, allocations: 19.92 kB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.881e-05/0.1258, allocations: 39.67 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.126, allocations: 119.9 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1261, allocations: 4 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1261, allocations: 4 kB / 484.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1261, allocations: 0 / 484.1 MB, free: 1.875 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.0006591/0.1268, allocations: 414.9 kB / 484.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1268, allocations: 12.03 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.1269, allocations: 8.844 kB / 484.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1272, allocations: 216 kB / 484.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1272, allocations: 4.375 kB / 484.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.1273, allocations: 8.125 kB / 484.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1275, allocations: 57.61 kB / 484.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1275, allocations: 4 kB / 484.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1275, allocations: 4 kB / 484.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1275, allocations: 0 / 484.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.298e-05/0.1276, allocations: 19.92 kB / 484.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.1281, allocations: 288.9 kB / 485.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1283, allocations: 62.62 kB / 485.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.1284, allocations: 20.84 kB / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.1285, allocations: 0 / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.1287, allocations: 71.39 kB / 485.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.1287, allocations: 0 / 485.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007099/0.1294, allocations: 181 kB / 485.4 MB, free: 368 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1295, allocations: 55.41 kB / 485.5 MB, free: 300 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.1298, allocations: 206.4 kB / 485.7 MB, free: 84 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1298, allocations: 25.7 kB / 485.7 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1299, allocations: 108.1 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.13, allocations: 23.7 kB / 485.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.1301, allocations: 17.72 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1302, allocations: 326.8 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.571e-05/0.1303, allocations: 27.98 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.534e-05/0.1304, allocations: 41.58 kB / 486.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.1306, allocations: 57.72 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1306, allocations: 0 / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002651/0.1309, allocations: 101.4 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.1309, allocations: 10.66 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.131, allocations: 0 / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.131, allocations: 4.031 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1311, allocations: 15.98 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1311, allocations: 4 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.1312, allocations: 3.938 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1312, allocations: 8 kB / 486.4 MB, free: 15.28 MB / 366.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.0001403/0.1314, allocations: 129.7 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1314, allocations: 11.91 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.1315, allocations: 13.41 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1315, allocations: 8 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1315, allocations: 0 / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.1316, allocations: 7.922 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.1322, allocations: 403.4 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.1322, allocations: 3.984 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.1323, allocations: 8 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1323, allocations: 192 / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.1323, allocations: 11.92 kB / 487 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1323, allocations: 7.969 kB / 487 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.1323, allocations: 0 / 487 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.1327, allocations: 204.2 kB / 487.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.1328, allocations: 88.92 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.1328, allocations: 4.312 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.1329, allocations: 7.984 kB / 487.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.133, allocations: 16 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.133, allocations: 4 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1332, allocations: 156.8 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1332, allocations: 0 / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1334, allocations: 31.98 kB / 487.5 MB, free: 14.08 MB / 366.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.00111/0.1346, allocations: 453.4 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1348, allocations: 63.91 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1348, allocations: 0 / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1349, allocations: 27.94 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.1354, allocations: 39.03 kB / 488.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.1361, allocations: 264.8 kB / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.1365, allocations: 0.708 MB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.1366, allocations: 19.42 kB / 489.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1366, allocations: 4 kB / 489.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of Templates: time 0.005525/0.1421, allocations: 1.966 MB / 491.1 MB, free: 10.65 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches