Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009289/0.009289, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001939/0.001939, allocations: 194.9 kB / 16.79 MB, free: 6.238 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.556/1.556, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.3647/0.3647, allocations: 43.49 MB / 313.5 MB, free: 8.254 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.001361/0.001361, allocations: 59.91 kB / 382 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1305, allocations: 57.78 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002958/0.1335, allocations: 1.768 MB / 441.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1347, allocations: 0.7924 MB / 442.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.1348, allocations: 7.938 kB / 442.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.1351, allocations: 43.88 kB / 442.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1353, allocations: 55.81 kB / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.1356, allocations: 71.86 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1357, allocations: 99.67 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1359, allocations: 16.22 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.136, allocations: 43.78 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.136, allocations: 35.78 kB / 442.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1361, allocations: 0 / 442.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.1362, allocations: 35.98 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.1362, allocations: 23.92 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.1363, allocations: 47.61 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1365, allocations: 135.8 kB / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1365, allocations: 0 / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1365, allocations: 0 / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1366, allocations: 0 / 443 MB, free: 11.41 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.0006133/0.1372, allocations: 438.7 kB / 443.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1372, allocations: 8.031 kB / 443.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.1373, allocations: 12.84 kB / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1375, allocations: 215.8 kB / 443.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1376, allocations: 8.312 kB / 443.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1376, allocations: 12.06 kB / 443.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1378, allocations: 57.61 kB / 443.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1378, allocations: 0 / 443.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1378, allocations: 4 kB / 443.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1378, allocations: 0 / 443.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.497e-05/0.1379, allocations: 15.98 kB / 443.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.1384, allocations: 304.8 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1385, allocations: 62.62 kB / 444.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.1386, allocations: 20.84 kB / 444.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1386, allocations: 0 / 444.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.1389, allocations: 67.39 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1389, allocations: 0 / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005608/0.1395, allocations: 181 kB / 444.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1395, allocations: 55.41 kB / 444.4 MB, free: 9.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.1398, allocations: 255.7 kB / 444.7 MB, free: 9.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1398, allocations: 29.7 kB / 444.7 MB, free: 9.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.1399, allocations: 112.1 kB / 444.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1399, allocations: 23.66 kB / 444.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1399, allocations: 21.7 kB / 444.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1401, allocations: 334.8 kB / 445.2 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.1401, allocations: 19.98 kB / 445.2 MB, free: 8.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.1402, allocations: 41.64 kB / 445.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1404, allocations: 58.08 kB / 445.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1404, allocations: 0 / 445.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001785/0.1405, allocations: 109.4 kB / 445.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1406, allocations: 4 kB / 445.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1406, allocations: 12.03 kB / 445.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1406, allocations: 0 / 445.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.1407, allocations: 15.98 kB / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1407, allocations: 0 / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.1408, allocations: 7.938 kB / 445.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1408, allocations: 4 kB / 445.4 MB, free: 8.711 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.00012/0.1409, allocations: 133.8 kB / 445.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.1409, allocations: 15.81 kB / 445.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.141, allocations: 29.38 kB / 445.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.141, allocations: 192 / 445.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.141, allocations: 3.938 kB / 445.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.141, allocations: 11.88 kB / 445.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.1414, allocations: 407.2 kB / 446 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1414, allocations: 0 / 446 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.1415, allocations: 8 kB / 446 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1415, allocations: 0 / 446 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1415, allocations: 7.969 kB / 446 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1415, allocations: 4 kB / 446.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1415, allocations: 0 / 446.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1417, allocations: 204.5 kB / 446.2 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.1419, allocations: 92.91 kB / 446.3 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.1419, allocations: 3.938 kB / 446.3 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.142, allocations: 8 kB / 446.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.142, allocations: 11.98 kB / 446.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.142, allocations: 4 kB / 446.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1422, allocations: 199 kB / 446.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1422, allocations: 4 kB / 446.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00028/0.1425, allocations: 27.98 kB / 446.6 MB, free: 7.453 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.001093/0.1436, allocations: 466.2 kB / 447 MB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1438, allocations: 55.92 kB / 447.1 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1438, allocations: 0 / 447.1 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/0.1439, allocations: 35.91 kB / 447.1 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1443, allocations: 35.91 kB / 447.2 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.1448, allocations: 305.6 kB / 447.5 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1451, allocations: 0.7277 MB / 448.2 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.995e-05/0.1452, allocations: 13.2 kB / 448.2 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.1453, allocations: 15.42 kB / 448.2 MB, free: 5.801 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1453, allocations: 4 kB / 448.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of Templates: time 0.005638/0.1509, allocations: 1.666 MB / 449.9 MB, free: 4.133 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches