Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 109.6 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.001356/0.001356, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.11 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 80.81 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1292, allocations: 62.45 MB / 480.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003525/0.1328, allocations: 1.724 MB / 482.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.1355, allocations: 1.627 MB / 484.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1356, allocations: 3.938 kB / 484.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.1359, allocations: 31.84 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.1364, allocations: 99.53 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1366, allocations: 75.67 kB / 484.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1368, allocations: 107.7 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1369, allocations: 15.98 kB / 484.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.137, allocations: 43.78 kB / 484.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.1372, allocations: 51.72 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1372, allocations: 4 kB / 484.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.1375, allocations: 111.9 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.1375, allocations: 23.86 kB / 484.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.1376, allocations: 31.8 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.138, allocations: 167.8 kB / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.138, allocations: 0 / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.138, allocations: 0 / 484.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.138, allocations: 0 / 484.9 MB, free: 1.078 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.0007118/0.1387, allocations: 427 kB / 485.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1388, allocations: 8.031 kB / 485.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.1388, allocations: 12.83 kB / 485.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1391, allocations: 215.6 kB / 485.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1391, allocations: 3.938 kB / 485.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1392, allocations: 8 kB / 485.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1394, allocations: 67.38 kB / 485.6 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1394, allocations: 4 kB / 485.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1394, allocations: 4 kB / 485.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1394, allocations: 0 / 485.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.1395, allocations: 19.98 kB / 485.6 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.14, allocations: 292.8 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.1402, allocations: 54.69 kB / 486 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/0.1403, allocations: 24.84 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1403, allocations: 0 / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.1406, allocations: 71.33 kB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1406, allocations: 4 kB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006003/0.1412, allocations: 173.2 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.1413, allocations: 88.98 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1416, allocations: 165.5 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.1416, allocations: 29.7 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.1417, allocations: 96.12 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.1417, allocations: 23.66 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.1418, allocations: 25.7 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.142, allocations: 326.8 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.107e-05/0.1421, allocations: 19.98 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.1421, allocations: 42.56 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1423, allocations: 69.62 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1423, allocations: 0 / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003071/0.1426, allocations: 93.53 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1426, allocations: 6.5 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1426, allocations: 4 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1427, allocations: 0 / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/0.1428, allocations: 27.98 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1428, allocations: 3.938 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.1428, allocations: 4 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1429, allocations: 4 kB / 487.2 MB, free: 14.46 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.0001236/0.143, allocations: 124.5 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.143, allocations: 15.81 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.1431, allocations: 12.72 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1431, allocations: 0 / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1431, allocations: 3.938 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1431, allocations: 7.984 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.1436, allocations: 391.3 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1436, allocations: 4 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.1437, allocations: 7.938 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1437, allocations: 4 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1437, allocations: 0 / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1437, allocations: 3.938 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1437, allocations: 4 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.144, allocations: 200.7 kB / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.1441, allocations: 88.94 kB / 488.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1441, allocations: 4 kB / 488.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.1442, allocations: 8 kB / 488.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.1443, allocations: 7.984 kB / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.1443, allocations: 4 kB / 488.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1444, allocations: 127.2 kB / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1444, allocations: 0 / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.1447, allocations: 47.98 kB / 488.3 MB, free: 13.31 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.002003/0.1468, allocations: 0.5395 MB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.147, allocations: 63.91 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.147, allocations: 4 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.1471, allocations: 20 kB / 488.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1474, allocations: 35.91 kB / 488.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.148, allocations: 232.6 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.1485, allocations: 0.6962 MB / 489.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.1486, allocations: 31.36 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1486, allocations: 0 / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Templates: time 0.005193/0.1538, allocations: 2.41 MB / 492.3 MB, free: 9.414 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches