Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001274, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 75.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1276, allocations: 62.45 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003561/0.1312, allocations: 1.687 MB / 483.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1329, allocations: 1.002 MB / 484.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.794e-05/0.133, allocations: 4 kB / 484.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.1334, allocations: 55.75 kB / 484.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.1337, allocations: 103.6 kB / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.1339, allocations: 67.69 kB / 484.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1341, allocations: 103.7 kB / 484.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.1342, allocations: 8.234 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.1343, allocations: 43.78 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.1344, allocations: 35.78 kB / 484.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1344, allocations: 0 / 484.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.374e-05/0.1345, allocations: 31.94 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.1346, allocations: 31.84 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.1346, allocations: 43.67 kB / 484.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1349, allocations: 123.6 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1349, allocations: 0 / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1349, allocations: 0 / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1349, allocations: 0 / 484.8 MB, free: 1.195 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005939/0.1355, allocations: 430.8 kB / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1356, allocations: 12.02 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.1356, allocations: 20.69 kB / 485.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.136, allocations: 224.8 kB / 485.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.136, allocations: 4.375 kB / 485.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.136, allocations: 4.125 kB / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1362, allocations: 45.67 kB / 485.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1362, allocations: 8 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1362, allocations: 0 / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1362, allocations: 0 / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.844e-05/0.1363, allocations: 12 kB / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.1365, allocations: 193.7 kB / 485.7 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1367, allocations: 62.55 kB / 485.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.1368, allocations: 24.8 kB / 485.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.1368, allocations: 0 / 485.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.137, allocations: 63.33 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.137, allocations: 0 / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003014/0.1373, allocations: 109.4 kB / 486 MB, free: 15.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.1374, allocations: 51.41 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.1377, allocations: 267 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1377, allocations: 33.7 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.1378, allocations: 112.1 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.1378, allocations: 7.906 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.1379, allocations: 21.7 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.138, allocations: 330.8 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.1381, allocations: 11.98 kB / 486.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/0.1381, allocations: 25.72 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.438e-05/0.1382, allocations: 49.64 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1382, allocations: 0 / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001524/0.1384, allocations: 85.44 kB / 487 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1384, allocations: 8 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1384, allocations: 0 / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1385, allocations: 3.938 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.1385, allocations: 15.92 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1386, allocations: 0 / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.1386, allocations: 19.88 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1386, allocations: 4 kB / 487 MB, free: 14.74 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 (7): * Single equations (assignments): 7 * 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.0001253/0.1388, allocations: 129.8 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1388, allocations: 15.91 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.494e-05/0.1388, allocations: 20.98 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1389, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1389, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1389, allocations: 320 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.139, allocations: 201.5 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1391, allocations: 8 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.1391, allocations: 4 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1391, allocations: 3.984 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1391, allocations: 4 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1391, allocations: 0 / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1391, allocations: 3.938 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.1393, allocations: 109 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1394, allocations: 92.86 kB / 487.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1394, allocations: 8 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.1395, allocations: 0 / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1395, allocations: 7.984 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1395, allocations: 4 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.1397, allocations: 200.4 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1397, allocations: 0 / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.1399, allocations: 23.98 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001039/0.141, allocations: 400.8 kB / 488.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1412, allocations: 39.92 kB / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1412, allocations: 4 kB / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.1412, allocations: 15.98 kB / 488.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1415, allocations: 35.91 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.142, allocations: 274.3 kB / 488.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1423, allocations: 0.7167 MB / 489.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.36e-05/0.1424, allocations: 8.562 kB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.1424, allocations: 19.42 kB / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 1.613e-06/0.1424, allocations: 0 / 489.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of Templates: time 0.004423/0.1469, allocations: 1.532 MB / 490.8 MB, free: 10.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches