Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009118/0.0009118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002139, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007337/0.0007337, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009328/0.001667, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.093/1.093, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09252/1.185, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.285/0.285, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02578/0.3108, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.708e-05, allocations: 3.078 kB / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003265/0.003292, allocations: 1.689 MB / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.004498, allocations: 0.5414 MB / 294.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.004576, allocations: 3.938 kB / 294.9 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.004777, allocations: 27.78 kB / 294.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.005084, allocations: 79.56 kB / 295 MB, free: 3.941 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.005331, allocations: 87.69 kB / 295.1 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.005466, allocations: 79.7 kB / 295.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.00555, allocations: 7.984 kB / 295.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.005639, allocations: 47.91 kB / 295.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.005696, allocations: 19.91 kB / 295.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.005709, allocations: 4 kB / 295.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.784e-05/0.005777, allocations: 27.94 kB / 295.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.00582, allocations: 19.92 kB / 295.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.005845, allocations: 11.94 kB / 295.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.005981, allocations: 67.75 kB / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.005995, allocations: 3.938 kB / 295.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.005997, allocations: 4 kB / 295.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.006008, allocations: 0 / 295.3 MB, free: 3.566 MB / 282.7 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.0003553/0.006363, allocations: 309.2 kB / 295.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.006393, allocations: 8.031 kB / 295.7 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.00642, allocations: 4.938 kB / 295.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.006543, allocations: 134.2 kB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.006551, allocations: 4.375 kB / 295.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.006566, allocations: 384 / 295.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.476e-05/0.006661, allocations: 58.7 kB / 295.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.006669, allocations: 0 / 295.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.006676, allocations: 0 / 295.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.006681, allocations: 11.92 kB / 295.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.006704, allocations: 7.984 kB / 295.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.006925, allocations: 163.1 kB / 296 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.007075, allocations: 26.56 kB / 296.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.007091, allocations: 12.92 kB / 296.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.007115, allocations: 3.938 kB / 296.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.00714, allocations: 38.5 kB / 296.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.007141, allocations: 0 / 296.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003035/0.007445, allocations: 77.64 kB / 296.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.007478, allocations: 59.41 kB / 296.2 MB, free: 2.555 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.007587, allocations: 170.5 kB / 296.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.007598, allocations: 25.7 kB / 296.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.007631, allocations: 92.11 kB / 296.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.007649, allocations: 15.84 kB / 296.5 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.007675, allocations: 17.72 kB / 296.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.00775, allocations: 322.8 kB / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-06/0.007758, allocations: 4 kB / 296.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-06/0.007767, allocations: 4 kB / 296.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.541e-05/0.007792, allocations: 16.84 kB / 296.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.007793, allocations: 0 / 296.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.641e-05/0.00785, allocations: 65.55 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.00786, allocations: 4 kB / 297 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.007864, allocations: 0 / 297 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.007872, allocations: 4 kB / 297 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.251e-05/0.007915, allocations: 11.94 kB / 297 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.007917, allocations: 0 / 297 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.007934, allocations: 7.984 kB / 297 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.007938, allocations: 0 / 297 MB, free: 1.762 MB / 282.7 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.062e-05/0.007988, allocations: 108.7 kB / 297.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.008006, allocations: 11.94 kB / 297.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.94e-05/0.008095, allocations: 66.08 kB / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008097, allocations: 0 / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.008098, allocations: 0 / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008101, allocations: 320 / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.008271, allocations: 222.8 kB / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.008272, allocations: 0 / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.008299, allocations: 11.98 kB / 297.4 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.008309, allocations: 7.953 kB / 297.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008311, allocations: 3.938 kB / 297.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.008316, allocations: 4 kB / 297.4 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.008317, allocations: 4 kB / 297.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.008317, allocations: 0 / 297.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.862e-05/0.008386, allocations: 147.5 kB / 297.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.008394, allocations: 4 kB / 297.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.864e-05/0.008423, allocations: 4 kB / 297.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.008447, allocations: 7.984 kB / 297.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.008449, allocations: 0 / 297.6 MB, free: 1.113 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.174e-05/0.008481, allocations: 34.72 kB / 297.6 MB, free: 1.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008481, allocations: 0 / 297.6 MB, free: 1.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001273/0.008608, allocations: 19.94 kB / 297.6 MB, free: 1.059 MB / 282.7 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.001343/0.009951, allocations: 0.5465 MB / 298.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.562e-05/0.01004, allocations: 24.78 kB / 298.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.01004, allocations: 0 / 298.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.01006, allocations: 12.86 kB / 298.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.01024, allocations: 31.86 kB / 298.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.01064, allocations: 194.7 kB / 298.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.361e-05/0.01067, allocations: 63.34 kB / 298.5 MB, free: 452 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.286e-05/0.0107, allocations: 11.98 kB / 298.5 MB, free: 440 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.01075, allocations: 55.38 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01075, allocations: 0 / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of Templates: time 0.002839/0.01359, allocations: 1.276 MB / 299.8 MB, free: 15.12 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9749645721167326]