Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 110 kB / 18.45 MB, free: 4.602 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.001177/0.001177, allocations: 182.3 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.292/1.292, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1926/0.1926, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3227, allocations: 60.83 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002556/0.3253, allocations: 1.563 MB / 0.5211 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006773/0.326, allocations: 405.3 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.326, allocations: 1.281 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.3262, allocations: 32.73 kB / 0.5215 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.3264, allocations: 41.94 kB / 0.5216 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.3267, allocations: 107.2 kB / 0.5217 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3268, allocations: 54.05 kB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.3269, allocations: 17.45 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.327, allocations: 22.53 kB / 0.5218 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.327, allocations: 19.44 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.3271, allocations: 2.438 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.109e-05/0.3271, allocations: 30.09 kB / 0.5218 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.3272, allocations: 20.56 kB / 0.5218 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.3272, allocations: 25.8 kB / 0.5219 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.3274, allocations: 71.67 kB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3274, allocations: 0 / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3274, allocations: 0 / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3274, allocations: 1.641 kB / 0.5219 GB, free: 2.047 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.00041/0.3278, allocations: 385.4 kB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3279, allocations: 9.922 kB / 0.5223 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.3279, allocations: 12.81 kB / 0.5223 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3281, allocations: 191.6 kB / 0.5225 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3281, allocations: 5.5 kB / 0.5225 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3281, allocations: 5.438 kB / 0.5225 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.3282, allocations: 58.42 kB / 0.5226 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3282, allocations: 4.656 kB / 0.5226 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.3283, allocations: 1.031 kB / 0.5226 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3283, allocations: 0 / 0.5226 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.3284, allocations: 27.5 kB / 0.5226 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.3287, allocations: 282.2 kB / 0.5229 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.3289, allocations: 46.59 kB / 0.5229 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.3289, allocations: 14.59 kB / 0.5229 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.329, allocations: 0 / 0.5229 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.329, allocations: 40.42 kB / 0.523 GB, free: 1.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.329, allocations: 5.219 kB / 0.523 GB, free: 1 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005077/0.3295, allocations: 146.2 kB / 0.5231 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.3295, allocations: 57.03 kB / 0.5232 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3297, allocations: 167.7 kB / 0.5233 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.3297, allocations: 27.31 kB / 0.5233 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.3297, allocations: 94.36 kB / 0.5234 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.3298, allocations: 16.16 kB / 0.5235 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.3298, allocations: 21.72 kB / 0.5235 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.3298, allocations: 321.1 kB / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.3299, allocations: 20.33 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/0.33, allocations: 21.78 kB / 0.5238 GB, free: 276 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.3301, allocations: 50.73 kB / 0.5239 GB, free: 256 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3301, allocations: 0 / 0.5239 GB, free: 256 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001725/0.3303, allocations: 93.97 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3303, allocations: 5.406 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3303, allocations: 0.6094 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3304, allocations: 1 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.3304, allocations: 12.81 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3304, allocations: 0 / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.3305, allocations: 5.203 kB / 0.524 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3305, allocations: 6.156 kB / 0.524 GB, free: 196 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 6.149e-05/0.3306, allocations: 129.9 kB / 0.5241 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.3306, allocations: 12.25 kB / 0.5241 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.3308, allocations: 106.7 kB / 0.5242 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3309, allocations: 2.25 kB / 0.5242 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3309, allocations: 0 / 0.5242 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3309, allocations: 0 / 0.5242 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.3313, allocations: 359.6 kB / 0.5246 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3313, allocations: 1.094 kB / 0.5246 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/0.3314, allocations: 11.31 kB / 0.5246 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3314, allocations: 1.219 kB / 0.5246 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.3314, allocations: 0.75 kB / 0.5246 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3314, allocations: 5.031 kB / 0.5246 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3314, allocations: 3.938 kB / 0.5246 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.3317, allocations: 182.2 kB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.3317, allocations: 87.92 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3317, allocations: 1.938 kB / 0.5249 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.3318, allocations: 7.531 kB / 0.5249 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.3319, allocations: 3.672 kB / 0.5249 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.3319, allocations: 3.469 kB / 0.5249 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.332, allocations: 125.1 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.332, allocations: 0 / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.3322, allocations: 20.97 kB / 0.525 GB, free: 15.3 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.0008719/0.3331, allocations: 399.8 kB / 0.5254 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.3333, allocations: 57.3 kB / 0.5254 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3333, allocations: 0 / 0.5254 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.3334, allocations: 26.06 kB / 0.5255 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3337, allocations: 19.16 kB / 0.5255 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.3342, allocations: 223.9 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.3344, allocations: 0.6985 MB / 0.5264 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.3345, allocations: 12.83 kB / 0.5264 GB, free: 14.19 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3345, allocations: 3.938 kB / 0.5264 GB, free: 14.18 MB / 398.1 MB Notification: Performance of Templates: time 0.003182/0.3377, allocations: 1.457 MB / 0.5278 GB, free: 13.83 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches