Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 108.3 kB / 18.4 MB, free: 4.59 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.001627/0.001627, allocations: 191 kB / 19.34 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2026/0.2026, allocations: 44.17 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 64.16 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.117, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003461/0.1205, allocations: 1.905 MB / 472.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.122, allocations: 0.9197 MB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.1221, allocations: 4 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.1224, allocations: 43.69 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.1227, allocations: 55.7 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.123, allocations: 131.3 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.1233, allocations: 143.5 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1234, allocations: 25.48 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.1235, allocations: 51.78 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.358e-05/0.1236, allocations: 51.64 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1236, allocations: 12 kB / 474 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.1238, allocations: 47.98 kB / 474.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.1239, allocations: 23.86 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.124, allocations: 55.66 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.1242, allocations: 147.5 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1242, allocations: 0 / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1242, allocations: 0 / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1242, allocations: 0 / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006513/0.1249, allocations: 476.5 kB / 474.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1249, allocations: 16.03 kB / 474.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.125, allocations: 12.75 kB / 474.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.1253, allocations: 231.9 kB / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1253, allocations: 8.375 kB / 475 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1253, allocations: 8.125 kB / 475.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.1256, allocations: 108.2 kB / 475.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.1256, allocations: 4 kB / 475.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1256, allocations: 4 kB / 475.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1256, allocations: 3.984 kB / 475.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.1258, allocations: 51.91 kB / 475.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.1264, allocations: 0.5048 MB / 475.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.1267, allocations: 90.66 kB / 475.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.1268, allocations: 32.84 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1268, allocations: 7.984 kB / 475.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.127, allocations: 83.31 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.127, allocations: 0 / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003602/0.1274, allocations: 145.4 kB / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.1274, allocations: 55.34 kB / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1276, allocations: 191.5 kB / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1276, allocations: 25.7 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.1277, allocations: 124 kB / 476.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.1277, allocations: 27.61 kB / 476.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1278, allocations: 25.72 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.1279, allocations: 326.8 kB / 476.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.128, allocations: 27.97 kB / 476.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.561e-05/0.1281, allocations: 64.41 kB / 476.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.1282, allocations: 100.5 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1283, allocations: 11.88 kB / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002463/0.1285, allocations: 141.3 kB / 477.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1285, allocations: 7.438 kB / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1285, allocations: 0 / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1285, allocations: 4 kB / 477.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1287, allocations: 23.92 kB / 477.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1287, allocations: 4 kB / 477.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.1287, allocations: 11.94 kB / 477.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1288, allocations: 11.92 kB / 477.2 MB, free: 6.832 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.322e-05/0.1289, allocations: 126 kB / 477.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.1289, allocations: 15.81 kB / 477.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.1289, allocations: 17.39 kB / 477.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1289, allocations: 7.938 kB / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1289, allocations: 0 / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.129, allocations: 0 / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.1291, allocations: 205.6 kB / 477.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1291, allocations: 0 / 477.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.1292, allocations: 8 kB / 477.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1292, allocations: 0 / 477.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1292, allocations: 11.98 kB / 477.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1292, allocations: 3.938 kB / 477.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1292, allocations: 3.938 kB / 477.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.1296, allocations: 180.8 kB / 477.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1296, allocations: 92.89 kB / 477.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.1296, allocations: 3.984 kB / 477.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.912e-05/0.1297, allocations: 16 kB / 477.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.1298, allocations: 12.17 kB / 477.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1298, allocations: 4 kB / 477.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.24e-05/0.1299, allocations: 141.1 kB / 478.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1299, allocations: 0 / 478.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.1301, allocations: 24 kB / 478.1 MB, free: 5.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0008066/0.1309, allocations: 411.1 kB / 478.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.1311, allocations: 87.77 kB / 478.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1312, allocations: 4 kB / 478.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.601e-05/0.1312, allocations: 31.98 kB / 478.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.1315, allocations: 39.91 kB / 478.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.132, allocations: 267.9 kB / 478.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1322, allocations: 0.7164 MB / 479.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.1323, allocations: 13.42 kB / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.1323, allocations: 15.44 kB / 479.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1323, allocations: 0 / 479.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of Templates: time 0.03645/0.1688, allocations: 1.881 MB / 481.5 MB, free: 2.547 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches