Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, allocations: 103.9 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001843/0.001843, allocations: 202.4 kB / 18.57 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.7 MB, free: 10.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.09 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 77.81 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.116, allocations: 62.45 MB / 480 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003389/0.1194, allocations: 1.732 MB / 481.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.121, allocations: 1.025 MB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.1211, allocations: 4 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.1214, allocations: 39.77 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.1217, allocations: 95.59 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.122, allocations: 71.67 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1222, allocations: 111.7 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1223, allocations: 16 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.974e-05/0.1224, allocations: 39.8 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.1225, allocations: 35.72 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1225, allocations: 4 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1226, allocations: 39.98 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.1227, allocations: 19.92 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.248e-05/0.1227, allocations: 43.72 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.123, allocations: 115.9 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.123, allocations: 4 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.123, allocations: 0 / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.123, allocations: 4 kB / 483.4 MB, free: 1.891 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.0005608/0.1236, allocations: 414.9 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1236, allocations: 12.03 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.1237, allocations: 8.844 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1239, allocations: 208.8 kB / 484 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1239, allocations: 4.312 kB / 484 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.124, allocations: 8.125 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1241, allocations: 53.67 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1241, allocations: 4 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1241, allocations: 0 / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1242, allocations: 3.984 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.1242, allocations: 23.92 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.1246, allocations: 288.8 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1248, allocations: 62.67 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.1249, allocations: 20.84 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1249, allocations: 4 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.1251, allocations: 67.33 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1251, allocations: 0 / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005706/0.1257, allocations: 169.2 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.1258, allocations: 71.33 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1259, allocations: 190.4 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.126, allocations: 29.7 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.1261, allocations: 104.1 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.1261, allocations: 23.7 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.1261, allocations: 21.72 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1263, allocations: 322.8 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.1263, allocations: 23.98 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.1264, allocations: 41.7 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1265, allocations: 65.62 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1265, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001877/0.1267, allocations: 97.5 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1268, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1268, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1268, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1269, allocations: 27.95 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1269, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.127, allocations: 7.938 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.127, allocations: 4 kB / 485.7 MB, free: 15.32 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.0001056/0.1271, allocations: 121.8 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.1271, allocations: 11.91 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.1272, allocations: 17.39 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1272, allocations: 3.938 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1272, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1272, allocations: 7.938 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.1277, allocations: 395.2 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1277, allocations: 4 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.1277, allocations: 7.984 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1277, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1278, allocations: 7.875 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1278, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.1278, allocations: 8.031 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.128, allocations: 196.3 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.1281, allocations: 84.92 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.1281, allocations: 7.938 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.1282, allocations: 4.359 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1282, allocations: 8.188 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1282, allocations: 8 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1284, allocations: 152.2 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1284, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1287, allocations: 23.98 kB / 486.8 MB, free: 14.15 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.001043/0.1297, allocations: 468.1 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.1299, allocations: 63.91 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1299, allocations: 3.938 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.266e-05/0.13, allocations: 23.98 kB / 487.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1303, allocations: 27.97 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.1308, allocations: 235 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1311, allocations: 0.708 MB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.1311, allocations: 17.19 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.1312, allocations: 19.42 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1312, allocations: 0 / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004841/0.136, allocations: 1.729 MB / 490.1 MB, free: 10.99 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches