Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 110.7 kB / 17.04 MB, free: 5.812 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.001104/0.001104, allocations: 196 kB / 17.97 MB, free: 5.027 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.634/1.634, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2473/0.2473, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 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.001486/0.001486, allocations: 67.39 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1279, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003026/0.131, allocations: 1.692 MB / 443.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1322, allocations: 0.8039 MB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.081e-05/0.1323, allocations: 4 kB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.1327, allocations: 43.77 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.133, allocations: 55.75 kB / 444.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1333, allocations: 87.75 kB / 444.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1335, allocations: 91.7 kB / 444.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1336, allocations: 12.23 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.1337, allocations: 39.78 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.404e-05/0.1338, allocations: 35.84 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.1338, allocations: 7.938 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.134, allocations: 39.98 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.134, allocations: 23.91 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.1341, allocations: 31.75 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1343, allocations: 115.6 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1343, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1343, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1344, allocations: 0 / 445 MB, free: 3.051 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.0006013/0.135, allocations: 422.8 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.135, allocations: 15.89 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.1351, allocations: 8.844 kB / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.1354, allocations: 212.7 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1354, allocations: 384 / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1354, allocations: 8.125 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1356, allocations: 53.67 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1356, allocations: 0 / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1356, allocations: 4 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1356, allocations: 0 / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.1357, allocations: 23.92 kB / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1361, allocations: 284.9 kB / 446.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1363, allocations: 58.67 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.1363, allocations: 28.83 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.1363, allocations: 4 kB / 446.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.1365, allocations: 67.33 kB / 446.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1365, allocations: 0 / 446.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005051/0.137, allocations: 173.1 kB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.137, allocations: 59.41 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1372, allocations: 199.3 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.1372, allocations: 25.7 kB / 446.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.1373, allocations: 112 kB / 446.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.1373, allocations: 19.75 kB / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.1373, allocations: 29.64 kB / 446.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.1374, allocations: 330.8 kB / 447.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.1374, allocations: 16 kB / 447.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-05/0.1375, allocations: 37.7 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.241e-05/0.1376, allocations: 70 kB / 447.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1376, allocations: 0 / 447.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001399/0.1378, allocations: 97.56 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1378, allocations: 5.25 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.1378, allocations: 11.98 kB / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1378, allocations: 0 / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.1379, allocations: 15.94 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1379, allocations: 4.031 kB / 447.4 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.179e-05/0.138, allocations: 11.94 kB / 447.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.138, allocations: 7.984 kB / 447.4 MB, free: 460 kB / 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 6.559e-05/0.138, allocations: 125.8 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.1381, allocations: 15.81 kB / 447.6 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.1381, allocations: 17.39 kB / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1381, allocations: 0 / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1381, allocations: 0 / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1381, allocations: 7.938 kB / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.1385, allocations: 391.3 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1385, allocations: 0 / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.1386, allocations: 11.98 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1386, allocations: 0 / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1386, allocations: 11.88 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1386, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1386, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1388, allocations: 200.3 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/0.1389, allocations: 88.92 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1389, allocations: 7.938 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.139, allocations: 3.984 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.139, allocations: 8 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1391, allocations: 4 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1392, allocations: 156.8 kB / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1392, allocations: 192 / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1395, allocations: 27.98 kB / 448.5 MB, free: 15.29 MB / 334.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.001124/0.1406, allocations: 472.4 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.1408, allocations: 55.97 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1408, allocations: 0 / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.1409, allocations: 31.94 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1413, allocations: 32.28 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.1418, allocations: 227.3 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.1422, allocations: 0.712 MB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.864e-05/0.1423, allocations: 8.891 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.1423, allocations: 27.36 kB / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1423, allocations: 0 / 450 MB, free: 13.76 MB / 334.1 MB Notification: Performance of Templates: time 0.004719/0.147, allocations: 1.697 MB / 451.7 MB, free: 12.08 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches