Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.3 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007799/0.0007799, allocations: 102 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1849/0.1849, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.581e-05, allocations: 4 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3807/0.4996, allocations: 89.18 MB / 0.5888 GB, free: 132 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4998, allocations: 71.97 kB / 0.5889 GB, free: 60 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01429/0.5142, allocations: 5.516 MB / 0.5943 GB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5142, allocations: 0 / 0.5943 GB, free: 10.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.5142, allocations: 0 / 0.5943 GB, free: 10.55 MB / 410.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.0004637/0.5147, allocations: 406.2 kB / 0.5946 GB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.5147, allocations: 8.031 kB / 0.5947 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.5148, allocations: 11.91 kB / 0.5947 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.5151, allocations: 215.5 kB / 0.5949 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.5151, allocations: 3.953 kB / 0.5949 GB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.5152, allocations: 8 kB / 0.5949 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.5153, allocations: 49.67 kB / 0.5949 GB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5153, allocations: 3.938 kB / 0.5949 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.5153, allocations: 4 kB / 0.5949 GB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.5153, allocations: 11.94 kB / 0.5949 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.92e-05/0.5154, allocations: 16 kB / 0.595 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.5158, allocations: 292.9 kB / 0.5952 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.5159, allocations: 58.62 kB / 0.5953 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.516, allocations: 16.98 kB / 0.5953 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.516, allocations: 8 kB / 0.5953 GB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.5161, allocations: 63.39 kB / 0.5954 GB, free: 9.227 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.5161, allocations: 0 / 0.5954 GB, free: 9.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004108/0.5165, allocations: 153.2 kB / 0.5955 GB, free: 9.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.5166, allocations: 55.39 kB / 0.5956 GB, free: 9.004 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.5168, allocations: 187.6 kB / 0.5958 GB, free: 8.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.5168, allocations: 25.7 kB / 0.5958 GB, free: 8.777 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.5168, allocations: 108.1 kB / 0.5959 GB, free: 8.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.5169, allocations: 31.62 kB / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.5169, allocations: 0 / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.517, allocations: 326.8 kB / 0.5962 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.517, allocations: 20 kB / 0.5962 GB, free: 8.289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-05/0.5171, allocations: 33.72 kB / 0.5963 GB, free: 8.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.375e-05/0.5172, allocations: 27.92 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.5172, allocations: 0 / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001351/0.5173, allocations: 93.59 kB / 0.5964 GB, free: 8.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5173, allocations: 8 kB / 0.5964 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.5173, allocations: 0 / 0.5964 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.5174, allocations: 0 / 0.5964 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.5174, allocations: 20.3 kB / 0.5964 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5175, allocations: 4 kB / 0.5964 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.5175, allocations: 11.92 kB / 0.5964 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.5175, allocations: 4 kB / 0.5964 GB, free: 8.078 MB / 410.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 () * 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 7.093e-05/0.5176, allocations: 117 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.5176, allocations: 15.8 kB / 0.5966 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.5178, allocations: 115.1 kB / 0.5967 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5178, allocations: 0 / 0.5967 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5179, allocations: 7.984 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5179, allocations: 0 / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.5183, allocations: 407.3 kB / 0.5971 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5183, allocations: 0 / 0.5971 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.5183, allocations: 15.97 kB / 0.5971 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5183, allocations: 4 kB / 0.5971 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5184, allocations: 0 / 0.5971 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5184, allocations: 3.984 kB / 0.5971 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5184, allocations: 4 kB / 0.5971 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.5186, allocations: 222 kB / 0.5973 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.5187, allocations: 93.02 kB / 0.5974 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.5187, allocations: 4 kB / 0.5974 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.5188, allocations: 3.984 kB / 0.5974 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.5188, allocations: 15.89 kB / 0.5974 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.5188, allocations: 7.984 kB / 0.5974 GB, free: 6.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.519, allocations: 144.9 kB / 0.5976 GB, free: 6.809 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.519, allocations: 0 / 0.5976 GB, free: 6.809 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000229/0.5192, allocations: 35.92 kB / 0.5976 GB, free: 6.773 MB / 410.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) * 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 (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.000878/0.5201, allocations: 429 kB / 0.598 GB, free: 6.469 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.5202, allocations: 55.92 kB / 0.5981 GB, free: 6.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5202, allocations: 0 / 0.5981 GB, free: 6.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.5203, allocations: 39.94 kB / 0.5981 GB, free: 6.375 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.5205, allocations: 23.92 kB / 0.5981 GB, free: 6.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.5209, allocations: 175.4 kB / 0.5983 GB, free: 6.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.5211, allocations: 0.7121 MB / 0.599 GB, free: 5.422 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.5212, allocations: 28.47 kB / 0.599 GB, free: 5.395 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.5212, allocations: 15.44 kB / 0.599 GB, free: 5.379 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5213, allocations: 0 / 0.599 GB, free: 5.379 MB / 410.7 MB Notification: Performance of Templates: time 0.003972/0.5252, allocations: 1.702 MB / 0.6007 GB, free: 3.691 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches