Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007553/0.0007554, allocations: 93.33 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009584/0.0009585, allocations: 199.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 247.5 MB, free: 11.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.18 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000274/0.0002742, allocations: 8 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 63.56 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002512/0.1272, allocations: 1.462 MB / 485.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1291, allocations: 0.9941 MB / 486.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1292, allocations: 3.938 kB / 486.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.1296, allocations: 83.83 kB / 486.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.13, allocations: 103.7 kB / 486.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1303, allocations: 71.8 kB / 486.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1306, allocations: 111.7 kB / 486.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1307, allocations: 19.97 kB / 486.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1309, allocations: 47.72 kB / 486.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.131, allocations: 67.75 kB / 486.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1311, allocations: 4 kB / 486.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.1312, allocations: 47.98 kB / 486.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.1313, allocations: 27.89 kB / 486.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.664e-05/0.1314, allocations: 61.39 kB / 486.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1316, allocations: 115.9 kB / 486.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1316, allocations: 0 / 486.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1317, allocations: 0 / 486.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1317, allocations: 3.938 kB / 487 MB, free: 0.9219 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006469/0.1323, allocations: 419.1 kB / 487.4 MB, free: 476 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.1324, allocations: 12.88 kB / 487.4 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.1325, allocations: 12.75 kB / 487.4 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.1328, allocations: 224.7 kB / 487.6 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.1328, allocations: 4.375 kB / 487.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.1328, allocations: 8.125 kB / 487.6 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.133, allocations: 57.67 kB / 487.7 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.133, allocations: 7.922 kB / 487.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.133, allocations: 0 / 487.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1331, allocations: 0 / 487.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.574e-05/0.1331, allocations: 27.98 kB / 487.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.1336, allocations: 304.7 kB / 488 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.1339, allocations: 62.48 kB / 488.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.134, allocations: 24.98 kB / 488.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.134, allocations: 11.97 kB / 488.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.1342, allocations: 67.39 kB / 488.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.1342, allocations: 3.938 kB / 488.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008122/0.135, allocations: 237.6 kB / 488.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.1351, allocations: 63.33 kB / 488.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.1354, allocations: 239 kB / 488.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1354, allocations: 33.7 kB / 488.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.1355, allocations: 112 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.1356, allocations: 27.56 kB / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.1356, allocations: 21.7 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1358, allocations: 326.8 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.1358, allocations: 27.98 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.22e-05/0.1359, allocations: 45.64 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1361, allocations: 81.7 kB / 489.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1361, allocations: 0 / 489.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002445/0.1363, allocations: 133.4 kB / 489.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1364, allocations: 8 kB / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1364, allocations: 0 / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1364, allocations: 0 / 489.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.1365, allocations: 23.98 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1365, allocations: 3.938 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.095e-05/0.1366, allocations: 4.031 kB / 489.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.1366, allocations: 8 kB / 489.5 MB, free: 14.09 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 (13): * Single equations (assignments): 13 * 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.0001274/0.1367, allocations: 137.8 kB / 489.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.1368, allocations: 15.75 kB / 489.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.1368, allocations: 21.39 kB / 489.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1368, allocations: 0 / 489.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1369, allocations: 7.938 kB / 489.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1369, allocations: 0 / 489.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.1374, allocations: 456 kB / 490.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.1374, allocations: 4 kB / 490.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.1375, allocations: 12 kB / 490.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1375, allocations: 0 / 490.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1375, allocations: 8 kB / 490.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.1375, allocations: 3.984 kB / 490.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1375, allocations: 3.938 kB / 490.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.1378, allocations: 237.2 kB / 490.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.1379, allocations: 92.91 kB / 490.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1379, allocations: 4 kB / 490.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.138, allocations: 4 kB / 490.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.138, allocations: 7.984 kB / 490.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1381, allocations: 8 kB / 490.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1382, allocations: 176.4 kB / 490.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1382, allocations: 4 kB / 490.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1385, allocations: 28 kB / 490.7 MB, free: 12.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001266/0.1398, allocations: 0.5074 MB / 491.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.14, allocations: 75.92 kB / 491.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.14, allocations: 4.062 kB / 491.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.638e-05/0.1401, allocations: 39.92 kB / 491.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1405, allocations: 31.91 kB / 491.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.1411, allocations: 353.6 kB / 491.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1414, allocations: 0.716 MB / 492.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.1415, allocations: 15.44 kB / 492.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1415, allocations: 4 kB / 492.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of Templates: time 0.004595/0.1461, allocations: 2.246 MB / 494.7 MB, free: 8.922 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches