Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 108.5 kB / 16.64 MB, free: 6.371 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.00139/0.00139, allocations: 188 kB / 17.56 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2258/0.2258, allocations: 43.53 MB / 314.3 MB, free: 0.6953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 67.14 kB / 382.9 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1379, allocations: 57.79 MB / 440.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003994/0.1419, allocations: 1.761 MB / 442.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1433, allocations: 0.7928 MB / 443.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1435, allocations: 0 / 443.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.144, allocations: 47.83 kB / 443.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1443, allocations: 55.81 kB / 443.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.1447, allocations: 71.86 kB / 443.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1449, allocations: 99.69 kB / 443.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1451, allocations: 16.5 kB / 443.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1452, allocations: 39.8 kB / 443.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1453, allocations: 31.84 kB / 443.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1454, allocations: 4 kB / 443.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1455, allocations: 43.92 kB / 443.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.1456, allocations: 27.91 kB / 443.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.1457, allocations: 51.61 kB / 443.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.1459, allocations: 103.8 kB / 443.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1459, allocations: 4 kB / 443.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1459, allocations: 0 / 443.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.146, allocations: 0 / 443.8 MB, free: 4.188 MB / 318.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.0006901/0.1466, allocations: 438.7 kB / 444.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.1467, allocations: 11.89 kB / 444.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.1468, allocations: 16.75 kB / 444.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.1471, allocations: 224.8 kB / 444.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.1471, allocations: 4.375 kB / 444.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1471, allocations: 8.062 kB / 444.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1473, allocations: 61.67 kB / 444.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1473, allocations: 0 / 444.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1474, allocations: 0 / 444.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1474, allocations: 4 kB / 444.6 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.433e-05/0.1475, allocations: 15.98 kB / 444.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1479, allocations: 304.8 kB / 444.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.148, allocations: 62.67 kB / 444.9 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.1481, allocations: 16.86 kB / 444.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1481, allocations: 0 / 444.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.1484, allocations: 75.28 kB / 445 MB, free: 2.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.1484, allocations: 0 / 445 MB, free: 2.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000551/0.1489, allocations: 173.1 kB / 445.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.149, allocations: 55.41 kB / 445.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1492, allocations: 279.7 kB / 445.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1492, allocations: 29.7 kB / 445.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.1493, allocations: 112.1 kB / 445.7 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.1493, allocations: 23.66 kB / 445.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1494, allocations: 33.64 kB / 445.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.1495, allocations: 326.8 kB / 446 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.1495, allocations: 27.98 kB / 446.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.555e-05/0.1496, allocations: 33.7 kB / 446.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.354e-05/0.1497, allocations: 57.7 kB / 446.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1497, allocations: 0 / 446.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001775/0.1499, allocations: 109.4 kB / 446.3 MB, free: 1.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1499, allocations: 4 kB / 446.3 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1499, allocations: 32 / 446.3 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1499, allocations: 4 kB / 446.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.15, allocations: 23.92 kB / 446.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.15, allocations: 0 / 446.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.1501, allocations: 3.938 kB / 446.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1501, allocations: 8 kB / 446.3 MB, free: 1.453 MB / 318.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 9.48e-05/0.1502, allocations: 137.8 kB / 446.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1502, allocations: 15.81 kB / 446.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.1503, allocations: 21.39 kB / 446.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1503, allocations: 4 kB / 446.5 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1503, allocations: 4.312 kB / 446.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1503, allocations: 3.938 kB / 446.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.1507, allocations: 411.2 kB / 446.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.1507, allocations: 4 kB / 446.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.1508, allocations: 8 kB / 446.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1508, allocations: 0 / 446.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1508, allocations: 3.938 kB / 446.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1508, allocations: 8.031 kB / 446.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1508, allocations: 0 / 446.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.151, allocations: 208.4 kB / 447.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.151, allocations: 85.02 kB / 447.2 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1511, allocations: 7.938 kB / 447.2 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.1511, allocations: 0 / 447.2 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.1512, allocations: 15.98 kB / 447.2 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.1512, allocations: 4 kB / 447.2 MB, free: 436 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1514, allocations: 204.2 kB / 447.4 MB, free: 232 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1514, allocations: 0 / 447.4 MB, free: 232 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1516, allocations: 24 kB / 447.4 MB, free: 208 kB / 318.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.001175/0.1528, allocations: 478.1 kB / 447.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1531, allocations: 63.91 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1531, allocations: 0 / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.1532, allocations: 31.92 kB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1535, allocations: 31.98 kB / 448 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.1542, allocations: 365.5 kB / 448.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1545, allocations: 0.7119 MB / 449.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.1545, allocations: 15.44 kB / 449.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1545, allocations: 0 / 449.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of Templates: time 0.004569/0.1591, allocations: 2.09 MB / 451.2 MB, free: 12.47 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches