Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001237/0.001237, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.23/1.23, allocations: 222.9 MB / 243.1 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.1807/0.1807, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001153, allocations: 63.98 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3, allocations: 60.83 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002503/0.3025, allocations: 1.563 MB / 0.5211 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3037, allocations: 1.015 MB / 0.5221 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.3038, allocations: 5.062 kB / 0.5221 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.304, allocations: 24.12 kB / 0.5221 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.3042, allocations: 36.94 kB / 0.5222 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.3045, allocations: 93 kB / 0.5223 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.3046, allocations: 50.58 kB / 0.5223 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.3047, allocations: 20.27 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.422e-05/0.3048, allocations: 22.64 kB / 0.5223 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.3049, allocations: 25.95 kB / 0.5224 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3049, allocations: 3.375 kB / 0.5224 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-05/0.305, allocations: 49.59 kB / 0.5224 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.96e-05/0.3051, allocations: 12.58 kB / 0.5224 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.3051, allocations: 21.7 kB / 0.5224 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.3053, allocations: 89.42 kB / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3053, allocations: 1.797 kB / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3053, allocations: 4 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3053, allocations: 0 / 0.5225 GB, free: 1.594 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.0003346/0.3056, allocations: 378.8 kB / 0.5229 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.3057, allocations: 8.906 kB / 0.5229 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.3057, allocations: 12.22 kB / 0.5229 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3058, allocations: 187.5 kB / 0.5231 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-06/0.3059, allocations: 1.344 kB / 0.5231 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.3059, allocations: 11.92 kB / 0.5231 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.306, allocations: 72.97 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.306, allocations: 0 / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3061, allocations: 5.375 kB / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3061, allocations: 0 / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-05/0.3062, allocations: 21.67 kB / 0.5232 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.3064, allocations: 273.8 kB / 0.5235 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.3066, allocations: 43.62 kB / 0.5235 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.3067, allocations: 21.59 kB / 0.5235 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.3067, allocations: 1 kB / 0.5235 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.3067, allocations: 32.28 kB / 0.5236 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3067, allocations: 0 / 0.5236 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004836/0.3072, allocations: 142.9 kB / 0.5237 GB, free: 488 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.3072, allocations: 78.83 kB / 0.5238 GB, free: 392 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.3073, allocations: 130.9 kB / 0.5239 GB, free: 280 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/0.3074, allocations: 27.27 kB / 0.5239 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.3074, allocations: 91.66 kB / 0.524 GB, free: 156 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.3074, allocations: 15.39 kB / 0.524 GB, free: 144 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.3074, allocations: 19.45 kB / 0.524 GB, free: 124 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3076, allocations: 328.2 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/0.3076, allocations: 17.5 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.44e-05/0.3077, allocations: 31.39 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.3078, allocations: 42.64 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3078, allocations: 0 / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001738/0.308, allocations: 88.81 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.308, allocations: 5.688 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.308, allocations: 0 / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3081, allocations: 1.609 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.3081, allocations: 11.94 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3081, allocations: 0.5625 kB / 0.5246 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.3082, allocations: 5.359 kB / 0.5246 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.3082, allocations: 6.406 kB / 0.5246 GB, free: 15.7 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.89e-05/0.3083, allocations: 122.4 kB / 0.5247 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.3083, allocations: 7.344 kB / 0.5247 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.3085, allocations: 91.59 kB / 0.5248 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3085, allocations: 2.062 kB / 0.5248 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3085, allocations: 0 / 0.5248 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.3086, allocations: 0 / 0.5248 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.3089, allocations: 343.4 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.309, allocations: 4 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.309, allocations: 15.94 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.309, allocations: 1.875 kB / 0.5251 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.309, allocations: 5.219 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3091, allocations: 3.938 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3091, allocations: 0.8906 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.3093, allocations: 177.8 kB / 0.5253 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.3093, allocations: 78.55 kB / 0.5254 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3093, allocations: 0.7031 kB / 0.5254 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.3094, allocations: 14.55 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.3094, allocations: 2.672 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3095, allocations: 1.75 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.423e-05/0.3095, allocations: 104.8 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3095, allocations: 0 / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3098, allocations: 23.55 kB / 0.5255 GB, free: 14.83 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.0009545/0.3108, allocations: 453.5 kB / 0.526 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.311, allocations: 44.45 kB / 0.526 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.311, allocations: 4 kB / 0.526 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.167e-05/0.3111, allocations: 24.95 kB / 0.526 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.3114, allocations: 17.05 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.3117, allocations: 183.6 kB / 0.5262 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.3119, allocations: 0.6908 MB / 0.5269 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.312, allocations: 16.52 kB / 0.5269 GB, free: 13.72 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.312, allocations: 4 kB / 0.5269 GB, free: 13.72 MB / 398.1 MB Notification: Performance of Templates: time 0.003406/0.3154, allocations: 1.567 MB / 0.5284 GB, free: 13.32 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches