Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008486/0.0008486, allocations: 175.5 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007319/0.0007319, allocations: 89.42 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3032/0.3032, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 20 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1164, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001893/0.1183, allocations: 1.398 MB / 492.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1194, allocations: 0.75 MB / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.1194, allocations: 0 / 493 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1197, allocations: 27.89 kB / 493 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.1198, allocations: 47.83 kB / 493.1 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.1201, allocations: 75.78 kB / 493.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1202, allocations: 83.7 kB / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.1203, allocations: 12.22 kB / 493.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.1204, allocations: 47.77 kB / 493.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.1204, allocations: 23.86 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1205, allocations: 0 / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.874e-05/0.1206, allocations: 35.98 kB / 493.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.1206, allocations: 19.91 kB / 493.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.1207, allocations: 53.45 kB / 493.4 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1208, allocations: 84.09 kB / 493.5 MB, free: 8.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1208, allocations: 0 / 493.5 MB, free: 8.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1208, allocations: 0 / 493.5 MB, free: 8.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1208, allocations: 0 / 493.5 MB, free: 8.215 MB / 378.7 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.0004684/0.1213, allocations: 395.2 kB / 493.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1213, allocations: 11.97 kB / 493.9 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.1214, allocations: 12.75 kB / 493.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1216, allocations: 204.2 kB / 494.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1216, allocations: 384 / 494.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1216, allocations: 8.125 kB / 494.1 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1218, allocations: 53.67 kB / 494.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1218, allocations: 3.938 kB / 494.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1219, allocations: 4 kB / 494.2 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1219, allocations: 0 / 494.2 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.1219, allocations: 19.98 kB / 494.2 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.1223, allocations: 288.8 kB / 494.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1225, allocations: 54.67 kB / 494.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.1225, allocations: 28.84 kB / 494.5 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1226, allocations: 0 / 494.5 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.1228, allocations: 67.33 kB / 494.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1228, allocations: 0 / 494.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005525/0.1233, allocations: 173.2 kB / 494.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.1234, allocations: 51.41 kB / 494.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.1236, allocations: 174.2 kB / 495 MB, free: 6.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1236, allocations: 33.64 kB / 495 MB, free: 6.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.1236, allocations: 96.12 kB / 495.1 MB, free: 6.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.1237, allocations: 23.66 kB / 495.1 MB, free: 6.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1237, allocations: 4 kB / 495.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1238, allocations: 326.8 kB / 495.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.414e-05/0.1239, allocations: 19.98 kB / 495.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.1239, allocations: 33.7 kB / 495.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1241, allocations: 65.64 kB / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1241, allocations: 0 / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001675/0.1243, allocations: 97.58 kB / 495.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1243, allocations: 8 kB / 495.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1243, allocations: 0 / 495.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1243, allocations: 0 / 495.7 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.1244, allocations: 19.92 kB / 495.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1244, allocations: 4.375 kB / 495.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.1245, allocations: 7.969 kB / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1245, allocations: 4 kB / 495.7 MB, free: 5.734 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.1246, allocations: 129.8 kB / 495.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.1246, allocations: 15.81 kB / 495.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.1247, allocations: 12.72 kB / 495.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1247, allocations: 4 kB / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1247, allocations: 0 / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.1247, allocations: 7.922 kB / 495.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.1251, allocations: 387.3 kB / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1251, allocations: 0 / 496.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.1252, allocations: 15.98 kB / 496.3 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1252, allocations: 0 / 496.3 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1252, allocations: 7.938 kB / 496.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1252, allocations: 4.172 kB / 496.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1252, allocations: 0 / 496.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.1254, allocations: 204.3 kB / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.1255, allocations: 93 kB / 496.6 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.1255, allocations: 3.938 kB / 496.6 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.675e-05/0.1256, allocations: 4 kB / 496.6 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.1256, allocations: 11.98 kB / 496.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1257, allocations: 4 kB / 496.6 MB, free: 4.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1258, allocations: 128.1 kB / 496.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1258, allocations: 4 kB / 496.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000243/0.1261, allocations: 39.83 kB / 496.8 MB, free: 4.578 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009271/0.127, allocations: 457.1 kB / 497.2 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.1272, allocations: 55.98 kB / 497.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1272, allocations: 0 / 497.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.1272, allocations: 31.92 kB / 497.3 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.1276, allocations: 27.41 kB / 497.3 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.128, allocations: 255.9 kB / 497.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1283, allocations: 0.7043 MB / 498.3 MB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.1283, allocations: 15.44 kB / 498.3 MB, free: 3.035 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1283, allocations: 0 / 498.3 MB, free: 3.035 MB / 378.7 MB Notification: Performance of Templates: time 0.003212/0.1315, allocations: 1.859 MB / 0.4884 GB, free: 1.176 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches