Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 104.1 kB / 18.45 MB, free: 4.625 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.001373/0.001373, allocations: 184.2 kB / 19.37 MB, free: 3.707 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.301/1.301, allocations: 222.9 MB / 243.1 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.194/0.194, allocations: 44.17 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001462, allocations: 59.91 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3458, allocations: 60.82 MB / 0.5196 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002744/0.3486, allocations: 1.583 MB / 0.5211 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000667/0.3493, allocations: 410.4 kB / 0.5215 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.3494, allocations: 8.969 kB / 0.5215 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.3497, allocations: 73.75 kB / 0.5216 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.3499, allocations: 67.19 kB / 0.5217 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.3502, allocations: 108 kB / 0.5218 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3504, allocations: 70.23 kB / 0.5218 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3505, allocations: 26.31 kB / 0.5219 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.382e-05/0.3506, allocations: 38.56 kB / 0.5219 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3507, allocations: 49.72 kB / 0.5219 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.3507, allocations: 7.406 kB / 0.522 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.3508, allocations: 39.89 kB / 0.522 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.3508, allocations: 15.3 kB / 0.522 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.3509, allocations: 34 kB / 0.522 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.3511, allocations: 100.4 kB / 0.5221 GB, free: 2.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3511, allocations: 0.75 kB / 0.5221 GB, free: 2.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3511, allocations: 7.938 kB / 0.5221 GB, free: 2.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3511, allocations: 0 / 0.5221 GB, free: 2.246 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003959/0.3515, allocations: 406.2 kB / 0.5225 GB, free: 1.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3515, allocations: 10.02 kB / 0.5225 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.3516, allocations: 9.344 kB / 0.5226 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3517, allocations: 192.6 kB / 0.5227 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3517, allocations: 10.45 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.3518, allocations: 7.297 kB / 0.5228 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3519, allocations: 60.83 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3519, allocations: 1.766 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.352, allocations: 4 kB / 0.5228 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.352, allocations: 5.188 kB / 0.5228 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.418e-05/0.3521, allocations: 26.09 kB / 0.5228 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.3524, allocations: 300.7 kB / 0.5231 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3525, allocations: 52.89 kB / 0.5232 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.3526, allocations: 19.33 kB / 0.5232 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.3526, allocations: 1.891 kB / 0.5232 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.3526, allocations: 32.66 kB / 0.5232 GB, free: 1.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.3526, allocations: 0 / 0.5232 GB, free: 1.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008622/0.3535, allocations: 234.2 kB / 0.5235 GB, free: 1.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.3535, allocations: 52.5 kB / 0.5235 GB, free: 1.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3537, allocations: 206.5 kB / 0.5237 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.3537, allocations: 25.7 kB / 0.5237 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.3538, allocations: 113.5 kB / 0.5238 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3538, allocations: 28.67 kB / 0.5239 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.3539, allocations: 25 kB / 0.5239 GB, free: 0.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.3539, allocations: 322 kB / 0.5242 GB, free: 400 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.354, allocations: 31.19 kB / 0.5242 GB, free: 392 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.459e-05/0.3541, allocations: 25.56 kB / 0.5242 GB, free: 388 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3543, allocations: 80.38 kB / 0.5243 GB, free: 352 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3543, allocations: 0 / 0.5243 GB, free: 352 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002051/0.3545, allocations: 116.6 kB / 0.5244 GB, free: 288 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3545, allocations: 6.219 kB / 0.5244 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3545, allocations: 3.938 kB / 0.5244 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3545, allocations: 1.531 kB / 0.5244 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.3546, allocations: 17.23 kB / 0.5245 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.3546, allocations: 5.406 kB / 0.5245 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.3547, allocations: 4.172 kB / 0.5245 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3547, allocations: 2.219 kB / 0.5245 GB, free: 280 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.722e-05/0.3548, allocations: 135.9 kB / 0.5246 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.3548, allocations: 8.781 kB / 0.5246 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.3551, allocations: 127.6 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.3551, allocations: 2.016 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3551, allocations: 3.938 kB / 0.5247 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3551, allocations: 1.266 kB / 0.5247 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005853/0.3557, allocations: 423.4 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3557, allocations: 1.062 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.3558, allocations: 28.48 kB / 0.5252 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3558, allocations: 1.938 kB / 0.5252 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3558, allocations: 2.344 kB / 0.5252 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3558, allocations: 0 / 0.5252 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3558, allocations: 1.953 kB / 0.5252 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.3561, allocations: 218.1 kB / 0.5254 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.3562, allocations: 87.58 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3562, allocations: 2.672 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.3563, allocations: 5.719 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.3563, allocations: 11.83 kB / 0.5255 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.3563, allocations: 4.844 kB / 0.5255 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.3565, allocations: 154.3 kB / 0.5256 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3565, allocations: 7.938 kB / 0.5257 GB, free: 15.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000249/0.3567, allocations: 24.36 kB / 0.5257 GB, free: 15.31 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009775/0.3577, allocations: 452.2 kB / 0.5261 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.358, allocations: 76.67 kB / 0.5262 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.358, allocations: 0 / 0.5262 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.043e-05/0.3581, allocations: 41.86 kB / 0.5262 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.3584, allocations: 19.88 kB / 0.5262 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.3589, allocations: 287 kB / 0.5265 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3593, allocations: 0.7152 MB / 0.5272 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.3593, allocations: 15.86 kB / 0.5272 GB, free: 14.13 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3593, allocations: 0 / 0.5272 GB, free: 14.13 MB / 398.1 MB Notification: Performance of Templates: time 0.003623/0.3629, allocations: 1.758 MB / 0.5289 GB, free: 13.46 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches