Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 104.1 kB / 18.44 MB, free: 4.605 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.001217/0.001217, allocations: 184.2 kB / 19.38 MB, free: 3.684 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.271/1.271, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.188/0.188, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3137, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002631/0.3164, allocations: 1.568 MB / 0.5211 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3177, allocations: 1.019 MB / 0.5221 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.3177, allocations: 5.312 kB / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.3179, allocations: 20.12 kB / 0.5221 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.3181, allocations: 41.48 kB / 0.5222 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.3184, allocations: 88.03 kB / 0.5223 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3185, allocations: 55.58 kB / 0.5223 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3186, allocations: 12.12 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.3187, allocations: 27.09 kB / 0.5223 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.3189, allocations: 24.83 kB / 0.5224 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.3189, allocations: 3.312 kB / 0.5224 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.319, allocations: 54.12 kB / 0.5224 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.319, allocations: 8.312 kB / 0.5224 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.3191, allocations: 21.64 kB / 0.5224 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.3193, allocations: 94.08 kB / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3193, allocations: 0 / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3193, allocations: 1 kB / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3193, allocations: 0 / 0.5225 GB, free: 1.57 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.0003726/0.3197, allocations: 378 kB / 0.5229 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3197, allocations: 9.641 kB / 0.5229 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.3198, allocations: 12.75 kB / 0.5229 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3199, allocations: 188.6 kB / 0.5231 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-06/0.3199, allocations: 384 / 0.5231 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.32, allocations: 1.875 kB / 0.5231 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3201, allocations: 69.77 kB / 0.5232 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3201, allocations: 1.438 kB / 0.5232 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3201, allocations: 0 / 0.5232 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3201, allocations: 0.8125 kB / 0.5232 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.583e-05/0.3202, allocations: 25.8 kB / 0.5232 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.3205, allocations: 272.7 kB / 0.5235 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.3207, allocations: 40.17 kB / 0.5235 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.3208, allocations: 21.27 kB / 0.5235 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3208, allocations: 1.797 kB / 0.5235 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.3208, allocations: 35.44 kB / 0.5236 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3208, allocations: 0 / 0.5236 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004832/0.3213, allocations: 151.2 kB / 0.5237 GB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.3213, allocations: 78.88 kB / 0.5238 GB, free: 372 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3215, allocations: 132.3 kB / 0.5239 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.3215, allocations: 25.7 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.3215, allocations: 92.61 kB / 0.524 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.3215, allocations: 15.72 kB / 0.524 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.3216, allocations: 22.52 kB / 0.524 GB, free: 100 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3217, allocations: 323.7 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.786e-05/0.3218, allocations: 18.47 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.3218, allocations: 30.95 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.322, allocations: 42.55 kB / 0.5244 GB, free: 15.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.322, allocations: 0.9375 kB / 0.5244 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001772/0.3222, allocations: 92.14 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3222, allocations: 8.75 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3222, allocations: 0 / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3222, allocations: 0.75 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.3223, allocations: 12.89 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.3223, allocations: 0 / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.3223, allocations: 6 kB / 0.5246 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3223, allocations: 5 kB / 0.5246 GB, free: 15.68 MB / 398.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 7.879e-05/0.3224, allocations: 122.7 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.3225, allocations: 7.062 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.3227, allocations: 92.44 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3227, allocations: 1.625 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3227, allocations: 0 / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3227, allocations: 0.6094 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.3231, allocations: 343.8 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3231, allocations: 0 / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.3232, allocations: 15.78 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3232, allocations: 0 / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.3232, allocations: 2.312 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-06/0.3232, allocations: 3.938 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3232, allocations: 2.875 kB / 0.5251 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.3234, allocations: 175.2 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.3235, allocations: 79.19 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.3235, allocations: 6.312 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.3236, allocations: 12.44 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.3236, allocations: 4.656 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3236, allocations: 0.9375 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.348e-05/0.3237, allocations: 103 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3237, allocations: 3.938 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.324, allocations: 28.72 kB / 0.5255 GB, free: 14.8 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.0009611/0.3249, allocations: 450.7 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.3251, allocations: 48.16 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3251, allocations: 1.188 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.3252, allocations: 23.86 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3256, allocations: 23.66 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.3259, allocations: 183.4 kB / 0.5262 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.3262, allocations: 0.6915 MB / 0.5269 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.3262, allocations: 18.28 kB / 0.5269 GB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3262, allocations: 0 / 0.5269 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Templates: time 0.003354/0.3296, allocations: 1.562 MB / 0.5284 GB, free: 13.28 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches