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.001771/0.001771, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001304, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 71.89 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1291, allocations: 62.44 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003145/0.1323, allocations: 1.684 MB / 483.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1338, allocations: 1.008 MB / 484.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.1339, allocations: 4 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.1342, allocations: 67.72 kB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1345, allocations: 99.58 kB / 484.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.1347, allocations: 75.69 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1349, allocations: 111.7 kB / 484.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.1349, allocations: 8.219 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/0.135, allocations: 47.77 kB / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.1351, allocations: 43.84 kB / 484.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1351, allocations: 4 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.1352, allocations: 31.98 kB / 484.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.1353, allocations: 19.86 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.1353, allocations: 39.72 kB / 484.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.1355, allocations: 107.6 kB / 484.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1355, allocations: 4 kB / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1355, allocations: 0 / 484.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1355, allocations: 0 / 484.8 MB, free: 1.148 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.0004982/0.136, allocations: 406.9 kB / 485.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1361, allocations: 8.031 kB / 485.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.1361, allocations: 12.84 kB / 485.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1364, allocations: 204.7 kB / 485.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1364, allocations: 8.312 kB / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.1365, allocations: 8.125 kB / 485.4 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1366, allocations: 53.67 kB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1366, allocations: 0 / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1366, allocations: 0 / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1366, allocations: 0 / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/0.1367, allocations: 11.98 kB / 485.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.1369, allocations: 185.7 kB / 485.7 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.137, allocations: 58.55 kB / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.1371, allocations: 20.8 kB / 485.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1371, allocations: 4 kB / 485.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.1373, allocations: 67.33 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.1373, allocations: 0 / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002679/0.1375, allocations: 101.4 kB / 485.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.1376, allocations: 59.39 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1378, allocations: 190.4 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.1378, allocations: 25.7 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.1379, allocations: 104.1 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1379, allocations: 7.891 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.138, allocations: 21.72 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1381, allocations: 322.8 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.1382, allocations: 12 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.984e-05/0.1382, allocations: 33.7 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.833e-05/0.1383, allocations: 45.64 kB / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1383, allocations: 0 / 486.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001465/0.1385, allocations: 85.44 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1385, allocations: 4 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1385, allocations: 160 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1385, allocations: 8.344 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.631e-05/0.1386, allocations: 15.92 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1386, allocations: 3.984 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.1387, allocations: 8 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1387, allocations: 4 kB / 486.9 MB, free: 14.86 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.019e-05/0.1388, allocations: 125.8 kB / 487 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.1388, allocations: 15.81 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.1388, allocations: 13 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1388, allocations: 3.938 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1389, allocations: 4 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1389, allocations: 3.984 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.139, allocations: 189.5 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.139, allocations: 0 / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.139, allocations: 4 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.139, allocations: 0 / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1391, allocations: 3.984 kB / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1391, allocations: 4 kB / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1391, allocations: 0 / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.1392, allocations: 116.9 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.1393, allocations: 89 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1393, allocations: 0 / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.243e-05/0.1394, allocations: 0 / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.1394, allocations: 4 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1394, allocations: 3.984 kB / 487.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.1395, allocations: 144.2 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1395, allocations: 3.938 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000203/0.1398, allocations: 31.98 kB / 487.6 MB, free: 14.02 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.0009106/0.1407, allocations: 400 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.1408, allocations: 43.92 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1408, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.812e-05/0.1409, allocations: 19.98 kB / 488.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.1412, allocations: 30.73 kB / 488.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.1416, allocations: 210 kB / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.1418, allocations: 0.701 MB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.392e-05/0.1419, allocations: 12.55 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.1419, allocations: 11.44 kB / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1419, allocations: 0 / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of Templates: time 0.004025/0.1459, allocations: 1.508 MB / 490.5 MB, free: 11.19 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 gbode -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