Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.001349, allocations: 115.9 kB / 18.41 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 199.5 kB / 19.36 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247.5 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 83.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1311, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00292/0.1341, allocations: 1.688 MB / 483.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1355, allocations: 1.005 MB / 484.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.1356, allocations: 0 / 484.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1359, allocations: 63.73 kB / 484.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.1362, allocations: 99.58 kB / 484.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.1364, allocations: 75.67 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1366, allocations: 107.7 kB / 484.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.1366, allocations: 8.234 kB / 484.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.609e-05/0.1367, allocations: 47.78 kB / 484.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1368, allocations: 47.77 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1369, allocations: 4 kB / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.137, allocations: 35.98 kB / 484.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.137, allocations: 23.91 kB / 484.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.1371, allocations: 27.75 kB / 484.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1373, allocations: 107.6 kB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1373, allocations: 0 / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1373, allocations: 7.984 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1373, 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.0005588/0.1379, allocations: 402.9 kB / 485.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1379, allocations: 12.03 kB / 485.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.1379, allocations: 8.844 kB / 485.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1382, allocations: 208.8 kB / 485.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1382, allocations: 384 / 485.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1383, allocations: 4.125 kB / 485.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1384, allocations: 57.61 kB / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1384, allocations: 0 / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1385, allocations: 0 / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1385, allocations: 0 / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.1385, allocations: 19.97 kB / 485.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.1387, allocations: 181.7 kB / 485.7 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1389, allocations: 54.61 kB / 485.7 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.139, allocations: 28.73 kB / 485.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.139, allocations: 0 / 485.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.1392, allocations: 59.39 kB / 485.8 MB, free: 16 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.1392, allocations: 0 / 485.8 MB, free: 16 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002941/0.1395, allocations: 101.5 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1395, allocations: 59.34 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1397, allocations: 194.4 kB / 486.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1397, allocations: 29.7 kB / 486.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.1398, allocations: 104.1 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.1398, allocations: 7.812 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1399, allocations: 21.72 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.14, allocations: 326.8 kB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.14, allocations: 15.98 kB / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.1401, allocations: 37.64 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1402, allocations: 45.95 kB / 486.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1402, allocations: 4 kB / 486.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001457/0.1404, allocations: 85.38 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1404, allocations: 7.984 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1404, allocations: 0 / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1404, allocations: 4 kB / 486.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.1405, allocations: 8 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1405, allocations: 4.031 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.1406, allocations: 4 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1406, allocations: 3.938 kB / 486.9 MB, free: 14.9 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 9.662e-05/0.1407, allocations: 136.3 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.1407, allocations: 11.81 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.1407, allocations: 12.98 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1407, allocations: 0 / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1407, allocations: 0 / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1408, allocations: 0 / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.1409, allocations: 193.5 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1409, allocations: 0 / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.1409, allocations: 11.98 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1409, allocations: 0 / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1409, allocations: 4 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1409, allocations: 0 / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.141, allocations: 0 / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.1411, allocations: 108.9 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.1412, allocations: 89.14 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.1412, allocations: 8 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.402e-05/0.1412, allocations: 0 / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.1413, allocations: 7.984 kB / 487.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.1413, allocations: 4 kB / 487.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1414, allocations: 148.2 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1414, allocations: 0 / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000202/0.1416, allocations: 20 kB / 487.6 MB, free: 14.07 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.0008668/0.1425, allocations: 404.3 kB / 488 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1427, allocations: 39.92 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1427, allocations: 0 / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.239e-05/0.1428, allocations: 24.11 kB / 488.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.143, allocations: 35.36 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.1434, allocations: 201.9 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1438, allocations: 0.7089 MB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.405e-05/0.1438, allocations: 12.55 kB / 489 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.1438, allocations: 11.44 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1438, allocations: 0 / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Templates: time 0.003861/0.1477, allocations: 1.489 MB / 490.5 MB, free: 11.24 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches