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.001314/0.001314, allocations: 111.3 kB / 18.45 MB, free: 4.645 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.001193/0.001193, allocations: 186.2 kB / 19.38 MB, free: 3.723 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.225/1.225, 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.1841/0.1841, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2902, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002787/0.293, allocations: 1.567 MB / 0.5211 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2944, allocations: 1.016 MB / 0.5221 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.2944, allocations: 5.062 kB / 0.5221 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.2947, allocations: 19.92 kB / 0.5221 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.2949, allocations: 49.42 kB / 0.5222 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.2952, allocations: 83.72 kB / 0.5223 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.2954, allocations: 59.66 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.606e-05/0.2955, allocations: 8.797 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.2955, allocations: 22.45 kB / 0.5223 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.2957, allocations: 29.44 kB / 0.5224 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.2957, allocations: 3.406 kB / 0.5224 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.2958, allocations: 53.28 kB / 0.5224 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.2959, allocations: 12.48 kB / 0.5224 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.2959, allocations: 21.88 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.2961, allocations: 89.33 kB / 0.5225 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2961, allocations: 0.5625 kB / 0.5225 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2961, allocations: 1.469 kB / 0.5225 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.2962, allocations: 0 / 0.5225 GB, free: 1.59 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.00036/0.2965, allocations: 373.6 kB / 0.5229 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2966, allocations: 10.77 kB / 0.5229 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.2966, allocations: 15.47 kB / 0.5229 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.2968, allocations: 184.5 kB / 0.5231 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2968, allocations: 384 / 0.5231 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.2968, allocations: 7.156 kB / 0.5231 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2969, allocations: 64.47 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.297, allocations: 1.188 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.297, allocations: 0.5156 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.297, allocations: 1.094 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.958e-05/0.2971, allocations: 25.42 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.2974, allocations: 269.8 kB / 0.5235 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.2976, allocations: 47.36 kB / 0.5235 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.2976, allocations: 16.98 kB / 0.5235 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2976, allocations: 1.781 kB / 0.5235 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.2977, allocations: 36.3 kB / 0.5235 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2977, allocations: 0 / 0.5235 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005071/0.2982, allocations: 142.6 kB / 0.5237 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.2982, allocations: 78.72 kB / 0.5238 GB, free: 400 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.2983, allocations: 135.7 kB / 0.5239 GB, free: 288 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.2984, allocations: 26.7 kB / 0.5239 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.2984, allocations: 92.81 kB / 0.524 GB, free: 164 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2984, allocations: 22.09 kB / 0.524 GB, free: 144 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.2984, allocations: 19.98 kB / 0.524 GB, free: 124 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2986, allocations: 319.8 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.2986, allocations: 17.39 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/0.2987, allocations: 36.03 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.2989, allocations: 54.77 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.2989, allocations: 0 / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001827/0.2991, allocations: 76.05 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2991, allocations: 6.5 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2991, allocations: 0 / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2991, allocations: 1.156 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.2992, allocations: 11.78 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2992, allocations: 5.812 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.2992, allocations: 4.656 kB / 0.5246 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2992, allocations: 5.719 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.662e-05/0.2993, allocations: 123.3 kB / 0.5247 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.2994, allocations: 8.734 kB / 0.5247 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.2996, allocations: 89.33 kB / 0.5248 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.2996, allocations: 2.047 kB / 0.5248 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2996, allocations: 7.984 kB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2996, allocations: 0.9688 kB / 0.5248 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.3, allocations: 346.7 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3, allocations: 1.094 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.3001, allocations: 12.03 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3001, allocations: 0 / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.3001, allocations: 2.031 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.3001, allocations: 7.938 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3001, allocations: 5.094 kB / 0.5251 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.3003, allocations: 176 kB / 0.5253 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.3004, allocations: 79.41 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3004, allocations: 2.047 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.3005, allocations: 8.328 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.3005, allocations: 4.891 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.3005, allocations: 13.34 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.271e-05/0.3006, allocations: 103.5 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3006, allocations: 0 / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.3009, allocations: 20.77 kB / 0.5255 GB, free: 14.82 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.0009743/0.3018, allocations: 448.5 kB / 0.526 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.3021, allocations: 44.58 kB / 0.526 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3021, allocations: 0 / 0.526 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/0.3022, allocations: 28.02 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.3025, allocations: 14.02 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.0003746/0.3029, allocations: 184.3 kB / 0.5262 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.3031, allocations: 0.6906 MB / 0.5269 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.3031, allocations: 16.5 kB / 0.5269 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3031, allocations: 0 / 0.5269 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Templates: time 0.003469/0.3066, allocations: 1.564 MB / 0.5284 GB, free: 13.31 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