Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.002139/0.002139, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002826/0.002826, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.484/1.484, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3938/0.3938, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.612e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003622/0.003658, allocations: 1.594 MB / 378.9 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.004937, allocations: 0.522 MB / 379.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.005004, allocations: 0 / 379.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.005234, allocations: 31.72 kB / 379.5 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.005605, allocations: 79.62 kB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.005979, allocations: 91.62 kB / 379.6 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.006181, allocations: 59.84 kB / 379.7 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.006307, allocations: 15.97 kB / 379.7 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.623e-05/0.006393, allocations: 27.92 kB / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.218e-05/0.006465, allocations: 19.92 kB / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.006482, allocations: 0 / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.006602, allocations: 39.91 kB / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.00666, allocations: 15.94 kB / 379.8 MB, free: 460 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.006695, allocations: 7.938 kB / 379.8 MB, free: 452 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.006931, allocations: 91.64 kB / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006933, allocations: 0 / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006934, allocations: 0 / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.006938, allocations: 0 / 379.9 MB, free: 360 kB / 346.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.0005299/0.007468, allocations: 305.9 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.007514, allocations: 12.03 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.00757, allocations: 12.89 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.007817, allocations: 137.6 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.007829, allocations: 384 / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.007859, allocations: 12.31 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.008018, allocations: 46.23 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.008029, allocations: 192 / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.008042, allocations: 4.125 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.008046, allocations: 4 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.008147, allocations: 19.98 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.008551, allocations: 224.6 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.0088, allocations: 38.56 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.008854, allocations: 12.94 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.008881, allocations: 7.938 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.008914, allocations: 34.56 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.008915, allocations: 0 / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006518/0.009567, allocations: 153.3 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/0.009661, allocations: 55.41 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.009871, allocations: 164.8 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.009898, allocations: 29.7 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.009972, allocations: 92.14 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.009997, allocations: 11.91 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.01005, allocations: 21.7 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.01024, allocations: 326.7 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.01032, allocations: 19.98 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.01039, allocations: 19.98 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.01053, allocations: 49.03 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01053, allocations: 0 / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002298/0.01076, allocations: 85.61 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.01078, allocations: 4 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01079, allocations: 0 / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.01081, allocations: 0 / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.01088, allocations: 19.92 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01089, allocations: 4 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.01093, allocations: 4.281 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.01094, allocations: 0 / 381.8 MB, free: 14.29 MB / 362.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 0.0001245/0.01106, allocations: 125.8 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.0111, allocations: 11.91 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.01138, allocations: 98.09 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01138, allocations: 3.938 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01138, allocations: 0 / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.01139, allocations: 0 / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.01189, allocations: 294.1 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.0119, allocations: 4 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.01196, allocations: 11.98 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01196, allocations: 0 / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.01197, allocations: 0 / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01197, allocations: 0 / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.01197, allocations: 4 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.01226, allocations: 187.5 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.01228, allocations: 11.95 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.0123, allocations: 4 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.01237, allocations: 4 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.01242, allocations: 3.984 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.01243, allocations: 4 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.01256, allocations: 127.2 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01256, allocations: 0 / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000258/0.01281, allocations: 15.94 kB / 382.7 MB, free: 13.33 MB / 362.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.002014/0.01483, allocations: 432.2 kB / 383.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.01505, allocations: 51.91 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01505, allocations: 0 / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.01513, allocations: 23.97 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.01555, allocations: 21.84 kB / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.01608, allocations: 208.8 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01619, allocations: 79.33 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.173e-05/0.01623, allocations: 4 kB / 383.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.01628, allocations: 20.48 kB / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01628, allocations: 0 / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of Templates: time 0.004537/0.02082, allocations: 1.167 MB / 384.7 MB, free: 11.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.948281346005388]