Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 103.1 kB / 15.98 MB, free: 6.355 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.001328/0.001328, allocations: 189.2 kB / 16.91 MB, free: 6.191 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.859/1.859, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4046/0.4046, allocations: 43.49 MB / 313.6 MB, free: 8.535 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.00127/0.00127, allocations: 70.56 kB / 382.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1392, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002985/0.1422, allocations: 1.76 MB / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1436, allocations: 0.8001 MB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.1436, allocations: 0 / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1439, allocations: 27.89 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1441, allocations: 51.83 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1444, allocations: 67.86 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1446, allocations: 99.69 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.1447, allocations: 16.22 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.1447, allocations: 47.72 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.1448, allocations: 31.84 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1448, allocations: 4 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.077e-05/0.1449, allocations: 35.98 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.145, allocations: 23.92 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.145, allocations: 35.73 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1452, allocations: 115.9 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1452, allocations: 3.938 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1452, allocations: 4 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.1452, allocations: 0 / 443.1 MB, free: 11.59 MB / 382.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.0005607/0.1458, allocations: 414.9 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1458, allocations: 11.89 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.1459, allocations: 8.844 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1461, allocations: 208 kB / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1461, allocations: 384 / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1462, allocations: 12.12 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1463, allocations: 53.67 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1463, allocations: 11.81 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1463, allocations: 4 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1464, allocations: 0 / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.548e-05/0.1464, allocations: 19.98 kB / 443.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.147, allocations: 280.9 kB / 444.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1472, allocations: 58.67 kB / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.1472, allocations: 20.8 kB / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1473, allocations: 8 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.1475, allocations: 67.28 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1476, allocations: 0 / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007003/0.1483, allocations: 169.3 kB / 444.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.1483, allocations: 55.41 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.1487, allocations: 190.1 kB / 444.7 MB, free: 9.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1487, allocations: 25.7 kB / 444.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.1488, allocations: 104.1 kB / 444.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.1488, allocations: 19.72 kB / 444.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1489, allocations: 25.7 kB / 444.9 MB, free: 9.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002862/0.1492, allocations: 330.8 kB / 445.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.1493, allocations: 19.98 kB / 445.2 MB, free: 9.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.1494, allocations: 33.72 kB / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1495, allocations: 61.64 kB / 445.3 MB, free: 9.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1495, allocations: 0 / 445.3 MB, free: 9.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002138/0.1497, allocations: 105.9 kB / 445.4 MB, free: 9.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1497, allocations: 4 kB / 445.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1498, allocations: 0 / 445.4 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1498, allocations: 8.031 kB / 445.4 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1499, allocations: 20 kB / 445.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.15, allocations: 0 / 445.4 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.15, allocations: 11.92 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.15, allocations: 0 / 445.4 MB, free: 9.031 MB / 382.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.0001424/0.1502, allocations: 129.8 kB / 445.6 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.1502, allocations: 7.906 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.1503, allocations: 20.64 kB / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1503, allocations: 0 / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1503, allocations: 8 kB / 445.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1503, allocations: 3.938 kB / 445.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.1508, allocations: 395.5 kB / 446 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1509, allocations: 0 / 446 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.1509, allocations: 15.92 kB / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1509, allocations: 0 / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1509, allocations: 7.938 kB / 446 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1509, allocations: 0 / 446 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.151, allocations: 4.109 kB / 446 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.1513, allocations: 200.3 kB / 446.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.1514, allocations: 85.02 kB / 446.3 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.1514, allocations: 3.938 kB / 446.3 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.1515, allocations: 7.984 kB / 446.3 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.1515, allocations: 11.94 kB / 446.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.1516, allocations: 8 kB / 446.3 MB, free: 8.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1517, allocations: 144 kB / 446.5 MB, free: 7.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1517, allocations: 0 / 446.5 MB, free: 7.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.152, allocations: 20 kB / 446.5 MB, free: 7.879 MB / 382.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.001297/0.1533, allocations: 481.2 kB / 447 MB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.1535, allocations: 63.92 kB / 447 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1536, allocations: 0 / 447 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.973e-05/0.1536, allocations: 31.92 kB / 447 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1541, allocations: 31.77 kB / 447.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.1546, allocations: 247.2 kB / 447.3 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.1552, allocations: 0.7041 MB / 448 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.814e-05/0.1552, allocations: 21.17 kB / 448 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.1553, allocations: 19.38 kB / 448.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1553, allocations: 0 / 448.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of Templates: time 0.005241/0.1605, allocations: 1.669 MB / 449.7 MB, free: 4.605 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches