Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 200 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.8 MB / 246.9 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.213/0.213, allocations: 46.2 MB / 345.3 MB, free: 11.38 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 8 kB / 419.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1388, allocations: 63.57 MB / 483.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002508/0.1414, allocations: 1.446 MB / 484.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1439, allocations: 1.573 MB / 486.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.144, allocations: 4 kB / 486.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.1443, allocations: 39.83 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.1446, allocations: 79.75 kB / 486.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.1448, allocations: 67.81 kB / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.145, allocations: 95.69 kB / 486.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1451, allocations: 8 kB / 486.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.1452, allocations: 43.78 kB / 486.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.1454, allocations: 43.77 kB / 486.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1454, allocations: 11.94 kB / 486.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.1456, allocations: 95.94 kB / 486.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.1457, allocations: 15.92 kB / 486.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.283e-05/0.1458, allocations: 57.48 kB / 486.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.1461, allocations: 171.8 kB / 486.9 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1461, allocations: 0 / 486.9 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1461, allocations: 0 / 486.9 MB, free: 356 kB / 350.1 MB Notification: Performance of Transformations before backend: time 3.778e-06/0.1461, allocations: 0 / 486.9 MB, free: 356 kB / 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.0007137/0.1468, allocations: 407.2 kB / 487.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1469, allocations: 12.88 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.1469, allocations: 12.83 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1472, allocations: 212.6 kB / 487.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.1473, allocations: 7.938 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.1473, allocations: 4 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1475, allocations: 67.33 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1475, allocations: 4 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1475, allocations: 0 / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1475, allocations: 4 kB / 487.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.268e-05/0.1476, allocations: 19.98 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.148, allocations: 288.9 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1482, allocations: 50.62 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.827e-05/0.1483, allocations: 24.84 kB / 488 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1483, allocations: 7.984 kB / 488 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.1485, allocations: 63.39 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1486, allocations: 0 / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000555/0.1491, allocations: 177.5 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.1492, allocations: 85.05 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1494, allocations: 158.5 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.1494, allocations: 33.7 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.1495, allocations: 96.12 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.1496, allocations: 23.66 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.1496, allocations: 17.72 kB / 488.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1498, allocations: 322.8 kB / 489 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.1498, allocations: 23.92 kB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.035e-05/0.1499, allocations: 42.56 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.15, allocations: 57.73 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1501, allocations: 4 kB / 489.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.1503, allocations: 105.5 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1503, allocations: 4 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1503, allocations: 4.062 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1503, allocations: 4 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.1504, allocations: 15.98 kB / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1504, allocations: 3.938 kB / 489.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.1505, allocations: 11.97 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.1505, allocations: 4 kB / 489.2 MB, free: 13.77 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.0001016/0.1506, allocations: 121.8 kB / 489.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.1506, allocations: 19.8 kB / 489.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.1507, allocations: 8.906 kB / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1507, allocations: 4 kB / 489.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1507, allocations: 7.875 kB / 489.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1507, allocations: 0 / 489.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.1512, allocations: 395.3 kB / 489.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1512, allocations: 3.984 kB / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.1513, allocations: 11.94 kB / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1513, allocations: 4 kB / 489.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1513, allocations: 4 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1513, allocations: 0 / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1513, allocations: 0 / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.1515, allocations: 200.3 kB / 490 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.1516, allocations: 96.94 kB / 490.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1516, allocations: 4 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.1517, allocations: 7.984 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.1518, allocations: 4 kB / 490.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1518, allocations: 4 kB / 490.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1519, allocations: 124.5 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1519, allocations: 4 kB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.1522, allocations: 47.98 kB / 490.3 MB, free: 12.61 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.001965/0.1542, allocations: 0.5357 MB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.1544, allocations: 67.89 kB / 490.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1544, allocations: 0 / 490.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.1545, allocations: 31.92 kB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1549, allocations: 28.23 kB / 491 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.1553, allocations: 226.1 kB / 491.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.1557, allocations: 0.7005 MB / 491.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.076e-05/0.1557, allocations: 20.86 kB / 491.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.1558, allocations: 19.42 kB / 491.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1558, allocations: 7.938 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of Templates: time 0.006124/0.1619, allocations: 2.286 MB / 494.2 MB, free: 8.832 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches