Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001096/0.001096, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2177/0.2177, allocations: 44.19 MB / 336.8 MB, free: 2.621 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.83 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.35, allocations: 60.81 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002814/0.3528, allocations: 1.569 MB / 0.5205 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006971/0.3535, allocations: 398 kB / 0.5208 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.3535, allocations: 1.219 kB / 0.5208 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.3538, allocations: 24.17 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.354, allocations: 34.91 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.3542, allocations: 88.7 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.3543, allocations: 58.84 kB / 0.521 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3545, allocations: 11 kB / 0.521 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.3545, allocations: 16.72 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.3546, allocations: 21.19 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3546, allocations: 2.719 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.3547, allocations: 28.98 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.3547, allocations: 22.44 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.3547, allocations: 16.41 kB / 0.5211 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.3549, allocations: 80.44 kB / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3549, allocations: 0.5156 kB / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3549, allocations: 1.469 kB / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3549, allocations: 0 / 0.5212 GB, free: 2.059 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003852/0.3553, allocations: 376.8 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3553, allocations: 9.156 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.3554, allocations: 8.266 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3555, allocations: 190.5 kB / 0.5218 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3555, allocations: 5.531 kB / 0.5218 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.3555, allocations: 1.375 kB / 0.5218 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.3557, allocations: 50.11 kB / 0.5218 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3557, allocations: 0 / 0.5218 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3557, allocations: 4.969 kB / 0.5218 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3557, allocations: 4.562 kB / 0.5218 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.566e-05/0.3558, allocations: 22.58 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.3561, allocations: 280.1 kB / 0.5221 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.3563, allocations: 39.02 kB / 0.5222 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.3564, allocations: 21.55 kB / 0.5222 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3564, allocations: 1.734 kB / 0.5222 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.3564, allocations: 31.88 kB / 0.5222 GB, free: 1.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.083e-06/0.3564, allocations: 4 kB / 0.5222 GB, free: 1.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005189/0.3569, allocations: 135.2 kB / 0.5224 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.357, allocations: 53.42 kB / 0.5224 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.3571, allocations: 146.6 kB / 0.5225 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.3571, allocations: 25.7 kB / 0.5226 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.3571, allocations: 97.47 kB / 0.5227 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.3571, allocations: 15.44 kB / 0.5227 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.3572, allocations: 18.67 kB / 0.5227 GB, free: 0.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.3572, allocations: 324 kB / 0.523 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.3573, allocations: 17.62 kB / 0.523 GB, free: 308 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.3574, allocations: 19.58 kB / 0.523 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3575, allocations: 41.97 kB / 0.5231 GB, free: 288 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3575, allocations: 0 / 0.5231 GB, free: 288 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001686/0.3577, allocations: 89.11 kB / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3577, allocations: 9.469 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3577, allocations: 0 / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3577, allocations: 1.922 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.3577, allocations: 11.69 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3578, allocations: 1.156 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.3578, allocations: 5.391 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3578, allocations: 1.062 kB / 0.5232 GB, free: 228 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 (5): * Single equations (assignments): 5 * 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 5.404e-05/0.3578, allocations: 123.8 kB / 0.5233 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.3579, allocations: 11.36 kB / 0.5233 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.3581, allocations: 96.67 kB / 0.5234 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3581, allocations: 2.016 kB / 0.5234 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3581, allocations: 0 / 0.5234 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3581, allocations: 5.281 kB / 0.5234 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.3585, allocations: 340.9 kB / 0.5237 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3586, allocations: 0.7031 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/0.3586, allocations: 16.27 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3586, allocations: 0.7031 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3586, allocations: 1.094 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3586, allocations: 3.938 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3586, allocations: 2.016 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.3589, allocations: 176.6 kB / 0.5239 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.3589, allocations: 82.89 kB / 0.524 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.3589, allocations: 1.891 kB / 0.524 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.359, allocations: 11.7 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.359, allocations: 4.453 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.359, allocations: 2.312 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.032e-05/0.3591, allocations: 112.1 kB / 0.5241 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3591, allocations: 0 / 0.5241 GB, free: 15.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.3594, allocations: 19.92 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000878/0.3602, allocations: 405.8 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.3604, allocations: 43.66 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3604, allocations: 0 / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.3605, allocations: 22.05 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3608, allocations: 22.16 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.3612, allocations: 165.7 kB / 0.5248 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3615, allocations: 0.6933 MB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.28e-05/0.3615, allocations: 6.156 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.3615, allocations: 12.62 kB / 0.5255 GB, free: 14.28 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3615, allocations: 0 / 0.5255 GB, free: 14.28 MB / 398.1 MB Notification: Performance of Templates: time 0.003773/0.3653, allocations: 1.107 MB / 0.5266 GB, free: 14.12 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches