Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.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.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008051/0.0008051, allocations: 182.4 kB / 18.09 MB, free: 3.629 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.17/1.17, allocations: 223.3 MB / 242.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007191/0.0007191, allocations: 97.88 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2687/0.2687, allocations: 44.15 MB / 388.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.000332, allocations: 16 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.247, allocations: 61.87 MB / 0.5107 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09153/0.3385, allocations: 88.06 MB / 0.5967 GB, free: 7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.3388, allocations: 83.92 kB / 0.5968 GB, free: 6.922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009985/0.3488, allocations: 4.276 MB / 0.601 GB, free: 2.645 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3488, allocations: 0 / 0.601 GB, free: 2.645 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3488, allocations: 4 kB / 0.601 GB, free: 2.641 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003538/0.3492, allocations: 413.8 kB / 0.6014 GB, free: 2.188 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.3492, allocations: 8.031 kB / 0.6014 GB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.3493, allocations: 8.844 kB / 0.6014 GB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.3495, allocations: 205.1 kB / 0.6016 GB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.3495, allocations: 12.38 kB / 0.6016 GB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3495, allocations: 384 / 0.6016 GB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.3496, allocations: 66.16 kB / 0.6017 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3496, allocations: 4.188 kB / 0.6017 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3497, allocations: 3.938 kB / 0.6017 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.3497, allocations: 0 / 0.6017 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.659e-05/0.3498, allocations: 31.97 kB / 0.6017 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.3501, allocations: 296.7 kB / 0.602 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9e-05/0.3502, allocations: 50.5 kB / 0.602 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.3502, allocations: 12.86 kB / 0.602 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3503, allocations: 8 kB / 0.602 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.3503, allocations: 42.58 kB / 0.6021 GB, free: 1.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3503, allocations: 0 / 0.6021 GB, free: 1.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000746/0.3511, allocations: 233.5 kB / 0.6023 GB, free: 1.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.3511, allocations: 59.41 kB / 0.6024 GB, free: 1.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3513, allocations: 196 kB / 0.6026 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3513, allocations: 29.7 kB / 0.6026 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.3514, allocations: 116 kB / 0.6027 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.3514, allocations: 23.66 kB / 0.6027 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.3514, allocations: 0 / 0.6027 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3515, allocations: 326.8 kB / 0.603 GB, free: 340 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.3516, allocations: 31.92 kB / 0.6031 GB, free: 308 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.019e-05/0.3517, allocations: 31.97 kB / 0.6031 GB, free: 276 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3518, allocations: 64.84 kB / 0.6031 GB, free: 208 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3518, allocations: 0 / 0.6031 GB, free: 208 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001909/0.352, allocations: 113.5 kB / 0.6033 GB, free: 88 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.352, allocations: 4 kB / 0.6033 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.352, allocations: 4 kB / 0.6033 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.3521, allocations: 96 / 0.6033 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.3521, allocations: 27.91 kB / 0.6033 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3522, allocations: 320 / 0.6033 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.3522, allocations: 11.94 kB / 0.6033 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.3522, allocations: 4 kB / 0.6033 GB, free: 36 kB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.965e-05/0.3523, allocations: 130.3 kB / 0.6034 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.3524, allocations: 11.91 kB / 0.6034 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.3526, allocations: 126.3 kB / 0.6036 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3526, allocations: 4 kB / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3526, allocations: 0 / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3526, allocations: 0 / 0.6036 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.3531, allocations: 435.1 kB / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3531, allocations: 4 kB / 0.604 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.209e-05/0.3532, allocations: 15.98 kB / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3532, allocations: 4 kB / 0.604 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3532, allocations: 3.938 kB / 0.604 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3532, allocations: 0 / 0.604 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3532, allocations: 0 / 0.604 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.3535, allocations: 212.3 kB / 0.6042 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.3535, allocations: 89.02 kB / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3535, allocations: 7.875 kB / 0.6043 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.3536, allocations: 23.98 kB / 0.6043 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.3537, allocations: 7.984 kB / 0.6043 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.3537, allocations: 0 / 0.6043 GB, free: 14.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3538, allocations: 156 kB / 0.6045 GB, free: 14.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3538, allocations: 3.938 kB / 0.6045 GB, free: 14.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.354, allocations: 24 kB / 0.6045 GB, free: 14.69 MB / 426.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: 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 (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.0008667/0.3549, allocations: 468 kB / 0.605 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3551, allocations: 67.91 kB / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3551, allocations: 4 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.3552, allocations: 40.12 kB / 0.6051 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.3555, allocations: 19.61 kB / 0.6051 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.3559, allocations: 286.2 kB / 0.6054 GB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3561, allocations: 0.7004 MB / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.32e-05/0.3562, allocations: 12.67 kB / 0.6061 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.3562, allocations: 27.36 kB / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3562, allocations: 0 / 0.6061 GB, free: 13.2 MB / 426.7 MB Notification: Performance of Templates: time 0.003206/0.3595, allocations: 1.351 MB / 0.6074 GB, free: 11.86 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches