Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 80.75 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1286, allocations: 62.45 MB / 480 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.00326/0.1319, allocations: 1.716 MB / 481.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1335, allocations: 1.025 MB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.555e-05/0.1336, allocations: 0 / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1339, allocations: 39.75 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.1343, allocations: 91.61 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.1345, allocations: 79.67 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1347, allocations: 103.7 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1348, allocations: 15.98 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.1349, allocations: 47.72 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.1349, allocations: 35.8 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.135, allocations: 4 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1351, allocations: 43.97 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.1351, allocations: 15.92 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.924e-05/0.1352, allocations: 39.73 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1354, allocations: 119.9 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1354, allocations: 4 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1354, allocations: 0 / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1354, allocations: 0 / 483.4 MB, free: 1.891 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.0005564/0.136, allocations: 410.9 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1361, allocations: 12.03 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.1361, allocations: 8.844 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1364, allocations: 212.8 kB / 484 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1364, allocations: 8.312 kB / 484 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1364, allocations: 12.06 kB / 484.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1366, allocations: 57.67 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1366, allocations: 0 / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1366, allocations: 0 / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1366, allocations: 0 / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.426e-05/0.1367, allocations: 27.92 kB / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1372, allocations: 288.8 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1374, allocations: 58.67 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.1374, allocations: 24.84 kB / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1375, allocations: 0 / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.1377, allocations: 67.33 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1378, allocations: 4 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006038/0.1384, allocations: 177.2 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1384, allocations: 51.41 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1386, allocations: 194.4 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1386, allocations: 29.7 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.1387, allocations: 100.2 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.1388, allocations: 23.7 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1388, allocations: 21.72 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1389, allocations: 330.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.139, allocations: 19.98 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.463e-05/0.1391, allocations: 37.7 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.1392, allocations: 61.64 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1392, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002097/0.1394, allocations: 109.4 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1394, allocations: 4 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1394, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1395, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.1396, allocations: 19.98 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.1396, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.1396, allocations: 3.938 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-06/0.1396, allocations: 4 kB / 485.7 MB, free: 15.32 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.0001217/0.1398, allocations: 128.5 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.1398, allocations: 15.94 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.1398, allocations: 17.55 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1399, allocations: 3.938 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1399, allocations: 4.188 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1399, allocations: 4.312 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.1403, allocations: 399.1 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1403, allocations: 8 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.479e-05/0.1404, allocations: 15.92 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1404, allocations: 4.031 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1404, allocations: 3.938 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1404, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1404, allocations: 4 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1407, allocations: 204.3 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.1407, allocations: 84.92 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1408, allocations: 11.94 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.1408, allocations: 7.984 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1409, allocations: 4 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1409, allocations: 4 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1411, allocations: 151.2 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1411, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1413, allocations: 31.98 kB / 486.8 MB, free: 14.13 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.001097/0.1424, allocations: 453.7 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1427, allocations: 63.91 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1427, allocations: 0 / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.98e-05/0.1427, allocations: 24 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.1431, allocations: 35.66 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.1436, allocations: 230.9 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.1438, allocations: 0.708 MB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.948e-05/0.1439, allocations: 17.19 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.144, allocations: 19.42 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.144, allocations: 0 / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Templates: time 0.005541/0.1495, allocations: 1.733 MB / 490.1 MB, free: 10.98 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches