Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001617/0.001617, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001907, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.1 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 84.92 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 62.44 MB / 480.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003131/0.1231, allocations: 1.727 MB / 482.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1248, allocations: 1.029 MB / 483.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.1249, allocations: 3.938 kB / 483.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.1252, allocations: 55.75 kB / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1255, allocations: 99.59 kB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.1257, allocations: 75.67 kB / 483.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.1259, allocations: 103.7 kB / 483.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.126, allocations: 15.98 kB / 483.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.1261, allocations: 39.8 kB / 483.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.1262, allocations: 39.78 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1262, allocations: 4 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.1263, allocations: 43.92 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1264, allocations: 23.92 kB / 484 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.1265, allocations: 47.66 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1267, allocations: 139.8 kB / 484.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1267, allocations: 0 / 484.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1267, allocations: 0 / 484.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1267, allocations: 0 / 484.1 MB, free: 1.855 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.000559/0.1273, allocations: 442.7 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1273, allocations: 12.03 kB / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.1274, allocations: 12.84 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1276, allocations: 224.8 kB / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1276, allocations: 384 / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1276, allocations: 8.125 kB / 484.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1278, allocations: 53.67 kB / 484.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1279, allocations: 0 / 484.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1279, allocations: 3.984 kB / 484.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1279, allocations: 0 / 484.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.128, allocations: 27.98 kB / 484.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.1284, allocations: 296.8 kB / 485.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1286, allocations: 58.66 kB / 485.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.415e-05/0.1287, allocations: 20.84 kB / 485.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1287, allocations: 4 kB / 485.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1289, allocations: 71.33 kB / 485.3 MB, free: 492 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1289, allocations: 3.938 kB / 485.4 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005452/0.1294, allocations: 177.3 kB / 485.5 MB, free: 304 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.1295, allocations: 59.39 kB / 485.6 MB, free: 232 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.1298, allocations: 270.9 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1298, allocations: 29.7 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.1299, allocations: 116.1 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.1299, allocations: 27.64 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.13, allocations: 25.72 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1301, allocations: 326.8 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.093e-05/0.1301, allocations: 28.05 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.262e-05/0.1302, allocations: 33.7 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1303, allocations: 65.7 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1304, allocations: 3.938 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.1305, allocations: 97.5 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1306, allocations: 4 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1306, allocations: 0 / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1306, allocations: 0 / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.1307, allocations: 23.92 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1307, allocations: 0 / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.1308, allocations: 15.91 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1308, allocations: 4 kB / 486.6 MB, free: 15.12 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.0001043/0.1309, allocations: 133.8 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1309, allocations: 15.81 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.131, allocations: 21.39 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.131, allocations: 0 / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.131, allocations: 0 / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.131, allocations: 3.938 kB / 486.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.1315, allocations: 407.3 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1315, allocations: 4 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.1315, allocations: 11.98 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1316, allocations: 0 / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1316, allocations: 3.938 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1316, allocations: 0 / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1316, allocations: 4 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1319, allocations: 216.4 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.1319, allocations: 92.86 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.132, allocations: 7.938 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.132, allocations: 7.984 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.1321, allocations: 4 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1321, allocations: 4 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.1323, allocations: 204.4 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1323, allocations: 0 / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1326, allocations: 28.19 kB / 487.8 MB, free: 13.87 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.001042/0.1336, allocations: 460.7 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1338, allocations: 55.98 kB / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1338, allocations: 4 kB / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.1339, allocations: 31.92 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1343, allocations: 34.3 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.1348, allocations: 325.4 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.1353, allocations: 0.7235 MB / 489.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.1353, allocations: 15.44 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.734e-06/0.1353, allocations: 4 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of Templates: time 0.004439/0.1398, allocations: 2.105 MB / 491.5 MB, free: 10.23 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches