Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 111.4 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001666, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 242.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2219/0.2219, allocations: 44.18 MB / 336.8 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 75.97 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.13, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003523/0.1335, allocations: 1.78 MB / 471 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.135, allocations: 0.8692 MB / 471.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.1351, allocations: 4 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.1354, allocations: 79.83 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1357, allocations: 71.67 kB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.136, allocations: 99.81 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.1362, allocations: 99.75 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.1363, allocations: 12 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.1364, allocations: 55.77 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1365, allocations: 59.69 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1365, allocations: 4 kB / 472.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1367, allocations: 47.98 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.1367, allocations: 19.92 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.1368, allocations: 43.72 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.137, allocations: 96.09 kB / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.137, allocations: 0 / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.137, allocations: 7.938 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.137, allocations: 0 / 472.5 MB, free: 11.46 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.0005598/0.1376, allocations: 430.9 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1376, allocations: 8.031 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.1377, allocations: 12.83 kB / 473 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1379, allocations: 204.5 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1379, allocations: 4.375 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.138, allocations: 16.11 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1381, allocations: 61.66 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1382, allocations: 0 / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1382, allocations: 4 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1382, allocations: 0 / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.671e-05/0.1383, allocations: 23.92 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.1387, allocations: 304.7 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.139, allocations: 62.55 kB / 473.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.139, allocations: 24.97 kB / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1391, allocations: 0 / 473.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.1393, allocations: 75.27 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.1393, allocations: 0 / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007982/0.1401, allocations: 245.5 kB / 474 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1402, allocations: 59.34 kB / 474 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1404, allocations: 215.5 kB / 474.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1404, allocations: 25.7 kB / 474.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.1405, allocations: 104.1 kB / 474.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1405, allocations: 35.55 kB / 474.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.1406, allocations: 25.72 kB / 474.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1407, allocations: 326.8 kB / 474.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.46e-05/0.1408, allocations: 31.98 kB / 474.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-05/0.1409, allocations: 45.7 kB / 474.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.141, allocations: 81.75 kB / 474.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.141, allocations: 0 / 474.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002347/0.1413, allocations: 137.3 kB / 475 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1413, allocations: 4 kB / 475 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1413, allocations: 4 kB / 475 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1413, allocations: 4.031 kB / 475 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.1414, allocations: 19.98 kB / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.1414, allocations: 7.938 kB / 475.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.1415, allocations: 0 / 475.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1415, allocations: 4 kB / 475.1 MB, free: 8.668 MB / 350.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.0001149/0.1416, allocations: 138.3 kB / 475.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1417, allocations: 15.81 kB / 475.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/0.1417, allocations: 25.39 kB / 475.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1417, allocations: 4 kB / 475.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1417, allocations: 7.938 kB / 475.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1417, allocations: 0 / 475.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.1423, allocations: 448 kB / 475.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1423, allocations: 0 / 475.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.1423, allocations: 15.98 kB / 475.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1423, allocations: 0 / 475.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1424, allocations: 12.06 kB / 475.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1424, allocations: 0 / 475.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1424, allocations: 4 kB / 475.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.1427, allocations: 240.9 kB / 476 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.1427, allocations: 85.02 kB / 476.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1428, allocations: 0 / 476.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.1429, allocations: 15.98 kB / 476.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.1429, allocations: 4 kB / 476.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1429, allocations: 4 kB / 476.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1431, allocations: 159.2 kB / 476.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1431, allocations: 0 / 476.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1433, allocations: 28 kB / 476.3 MB, free: 7.375 MB / 350.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.001148/0.1445, allocations: 0.5204 MB / 476.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.1447, allocations: 71.92 kB / 476.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1447, allocations: 0 / 476.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.447e-05/0.1448, allocations: 43.92 kB / 476.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1452, allocations: 31.91 kB / 476.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.1457, allocations: 335.8 kB / 477.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.146, allocations: 0.7197 MB / 478 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.146, allocations: 19.42 kB / 478 MB, free: 5.781 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.146, allocations: 0 / 478 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Templates: time 0.003985/0.15, allocations: 2.177 MB / 480.2 MB, free: 3.609 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches