Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.00186, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.778/1.778, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.3783/0.3783, allocations: 43.58 MB / 315 MB, free: 8.676 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.0004862/0.0004862, allocations: 16 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1329, allocations: 58.87 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.001849/0.1348, allocations: 1.418 MB / 444.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1365, allocations: 1.352 MB / 446.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.1366, allocations: 0 / 446.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.1368, allocations: 31.84 kB / 446.3 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.137, allocations: 47.83 kB / 446.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.1373, allocations: 83.84 kB / 446.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1374, allocations: 87.7 kB / 446.5 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.2e-05/0.1375, allocations: 20.19 kB / 446.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.394e-05/0.1376, allocations: 39.78 kB / 446.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1377, allocations: 39.77 kB / 446.6 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1377, allocations: 4 kB / 446.6 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1379, allocations: 51.98 kB / 446.6 MB, free: 9.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.1379, allocations: 19.92 kB / 446.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.138, allocations: 61.42 kB / 446.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1382, allocations: 123.9 kB / 446.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1382, allocations: 0 / 446.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1382, allocations: 0 / 446.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1382, allocations: 0 / 446.8 MB, free: 9.27 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.0004532/0.1386, allocations: 391.2 kB / 447.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1387, allocations: 8.031 kB / 447.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.1387, allocations: 8.844 kB / 447.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1389, allocations: 212 kB / 447.4 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.139, allocations: 4.375 kB / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.139, allocations: 4.125 kB / 447.4 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1391, allocations: 67.39 kB / 447.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1392, allocations: 0 / 447.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1392, allocations: 7.938 kB / 447.5 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1392, allocations: 0 / 447.5 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.931e-05/0.1393, allocations: 23.92 kB / 447.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.1396, allocations: 284.9 kB / 447.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1397, allocations: 58.67 kB / 447.9 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.758e-05/0.1398, allocations: 16.86 kB / 447.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1398, allocations: 7.969 kB / 447.9 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.14, allocations: 75.33 kB / 448 MB, free: 7.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.14, allocations: 0 / 448 MB, free: 7.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004918/0.1405, allocations: 161.2 kB / 448.1 MB, free: 7.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1406, allocations: 89.09 kB / 448.2 MB, free: 7.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1407, allocations: 149.1 kB / 448.4 MB, free: 7.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1407, allocations: 25.7 kB / 448.4 MB, free: 7.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.1408, allocations: 100 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.1408, allocations: 23.75 kB / 448.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.1408, allocations: 17.7 kB / 448.5 MB, free: 7.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.1409, allocations: 322.8 kB / 448.8 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.141, allocations: 23.98 kB / 448.9 MB, free: 7.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.27e-05/0.1411, allocations: 42.56 kB / 448.9 MB, free: 6.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1412, allocations: 61.64 kB / 449 MB, free: 6.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1412, allocations: 4.031 kB / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001831/0.1414, allocations: 105.4 kB / 449.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1414, allocations: 4 kB / 449.1 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1414, allocations: 4.188 kB / 449.1 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1414, allocations: 0 / 449.1 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.1415, allocations: 19.92 kB / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1415, allocations: 0 / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.1416, allocations: 7.938 kB / 449.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1416, allocations: 8.156 kB / 449.1 MB, free: 6.73 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 8.799e-05/0.1417, allocations: 121.9 kB / 449.2 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.1417, allocations: 11.91 kB / 449.2 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.1418, allocations: 12.7 kB / 449.3 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1418, allocations: 4 kB / 449.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1418, allocations: 0 / 449.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1418, allocations: 7.922 kB / 449.3 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.1422, allocations: 391.3 kB / 449.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1422, allocations: 3.938 kB / 449.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.1423, allocations: 11.94 kB / 449.7 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1423, allocations: 0 / 449.7 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1423, allocations: 8.312 kB / 449.7 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1423, allocations: 3.984 kB / 449.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.1423, allocations: 4 kB / 449.7 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1425, allocations: 200.3 kB / 449.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.1426, allocations: 89 kB / 450 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1426, allocations: 7.938 kB / 450 MB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.1427, allocations: 7.984 kB / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.1427, allocations: 4 kB / 450 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.1427, allocations: 7.938 kB / 450 MB, free: 5.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.635e-05/0.1428, allocations: 115.2 kB / 450.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1428, allocations: 0 / 450.1 MB, free: 5.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1431, allocations: 31.98 kB / 450.1 MB, free: 5.605 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.001055/0.1441, allocations: 0.4998 MB / 450.6 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.1443, allocations: 63.89 kB / 450.7 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1443, allocations: 0 / 450.7 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.1444, allocations: 28.14 kB / 450.7 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1447, allocations: 32.12 kB / 450.8 MB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.1451, allocations: 214.1 kB / 451 MB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1454, allocations: 0.6965 MB / 451.7 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.18e-05/0.1455, allocations: 20.88 kB / 451.7 MB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.1455, allocations: 19.44 kB / 451.7 MB, free: 4.008 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1455, allocations: 0 / 451.7 MB, free: 4.008 MB / 382.1 MB Notification: Performance of Templates: time 0.00449/0.15, allocations: 1.874 MB / 453.6 MB, free: 2.137 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches