Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009313/0.0009313, allocations: 187 kB / 18.09 MB, free: 3.727 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.202/1.202, allocations: 223.3 MB / 242.1 MB, free: 11.67 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.0007711/0.0007712, allocations: 95.72 kB / 293.3 MB, free: 10.77 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.2832/0.2832, allocations: 44.15 MB / 388.5 MB, free: 38.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 16 kB / 461.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.251, allocations: 61.88 MB / 0.5107 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09141/0.3424, allocations: 88.06 MB / 0.5967 GB, free: 7.043 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.3426, allocations: 75.95 kB / 0.5968 GB, free: 6.973 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01016/0.3528, allocations: 4.276 MB / 0.601 GB, free: 2.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3528, allocations: 3.938 kB / 0.601 GB, free: 2.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3529, allocations: 4 kB / 0.601 GB, free: 2.688 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.0003747/0.3532, allocations: 407 kB / 0.6014 GB, free: 2.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.3533, allocations: 12.03 kB / 0.6014 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.3533, allocations: 8.844 kB / 0.6014 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.3535, allocations: 213.2 kB / 0.6016 GB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.3535, allocations: 8.312 kB / 0.6016 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.3536, allocations: 384 / 0.6016 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.3537, allocations: 58.19 kB / 0.6017 GB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3537, allocations: 4.172 kB / 0.6017 GB, free: 1.898 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3537, allocations: 3.938 kB / 0.6017 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.3537, allocations: 0 / 0.6017 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.812e-05/0.3538, allocations: 35.97 kB / 0.6017 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.3542, allocations: 296.7 kB / 0.602 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/0.3543, allocations: 50.5 kB / 0.602 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.3543, allocations: 24.94 kB / 0.6021 GB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.3544, allocations: 0 / 0.6021 GB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.3544, allocations: 34.56 kB / 0.6021 GB, free: 1.391 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3544, allocations: 0 / 0.6021 GB, free: 1.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007796/0.3552, allocations: 245.1 kB / 0.6023 GB, free: 1.145 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.3552, allocations: 51.41 kB / 0.6024 GB, free: 1.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.3554, allocations: 192 kB / 0.6026 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.3554, allocations: 33.7 kB / 0.6026 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.3555, allocations: 108 kB / 0.6027 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.3555, allocations: 27.64 kB / 0.6027 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.3555, allocations: 0 / 0.6027 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3556, allocations: 334.7 kB / 0.603 GB, free: 384 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.211e-05/0.3557, allocations: 27.98 kB / 0.6031 GB, free: 356 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.417e-05/0.3558, allocations: 32.05 kB / 0.6031 GB, free: 324 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.3559, allocations: 72.89 kB / 0.6032 GB, free: 248 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3559, allocations: 0 / 0.6032 GB, free: 248 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002104/0.3562, allocations: 105.5 kB / 0.6033 GB, free: 136 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3562, allocations: 8 kB / 0.6033 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3562, allocations: 3.938 kB / 0.6033 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3562, allocations: 0 / 0.6033 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.3563, allocations: 27.92 kB / 0.6033 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3563, allocations: 0 / 0.6033 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.3564, allocations: 11.98 kB / 0.6033 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3564, allocations: 7.938 kB / 0.6033 GB, free: 76 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 9.854e-05/0.3565, allocations: 126.5 kB / 0.6034 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.3565, allocations: 11.91 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.3568, allocations: 122.4 kB / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3568, allocations: 0 / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3568, allocations: 0 / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3568, allocations: 3.938 kB / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.3573, allocations: 431.1 kB / 0.604 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3573, allocations: 4 kB / 0.604 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.3574, allocations: 19.98 kB / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3574, allocations: 0 / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3574, allocations: 0 / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3574, allocations: 3.938 kB / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3574, allocations: 8.422 kB / 0.604 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3576, allocations: 216.6 kB / 0.6042 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.3577, allocations: 93 kB / 0.6043 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3577, allocations: 8 kB / 0.6043 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.3578, allocations: 11.94 kB / 0.6043 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.3578, allocations: 7.984 kB / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3579, allocations: 3.984 kB / 0.6043 GB, free: 14.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.358, allocations: 160 kB / 0.6045 GB, free: 14.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.358, allocations: 0 / 0.6045 GB, free: 14.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.3582, allocations: 20 kB / 0.6045 GB, free: 14.73 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.0008766/0.3591, allocations: 466.3 kB / 0.605 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.3593, allocations: 79.88 kB / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3593, allocations: 0 / 0.605 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.3594, allocations: 35.98 kB / 0.6051 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3597, allocations: 23.98 kB / 0.6051 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.3602, allocations: 274.2 kB / 0.6054 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.3604, allocations: 0.7043 MB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.746e-05/0.3605, allocations: 24.95 kB / 0.6061 GB, free: 13.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.3605, allocations: 11.44 kB / 0.6061 GB, free: 13.25 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3605, allocations: 3.938 kB / 0.6061 GB, free: 13.24 MB / 426.7 MB Notification: Performance of Templates: time 0.003299/0.3638, allocations: 1.353 MB / 0.6074 GB, free: 11.9 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches