Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001311/0.001311, allocations: 85.17 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001428/0.001428, allocations: 164.4 kB / 23.95 MB, free: 4.156 MB / 14.72 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.397/1.397, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1937/0.1937, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] 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.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.534e-05, allocations: 6.219 kB / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002755/0.00278, allocations: 1.59 MB / 441.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.004628, allocations: 1.243 MB / 442.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.004676, allocations: 0 / 442.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.00489, allocations: 19.8 kB / 443 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.005205, allocations: 91.55 kB / 443.1 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.005455, allocations: 98.25 kB / 443.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.005602, allocations: 67.78 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.005685, allocations: 7.984 kB / 443.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.143e-05/0.005757, allocations: 35.91 kB / 443.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.005875, allocations: 23.91 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.005894, allocations: 4 kB / 443.3 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.006054, allocations: 95.75 kB / 443.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.006105, allocations: 15.92 kB / 443.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.006147, allocations: 27.86 kB / 443.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.006395, allocations: 139.6 kB / 443.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.006397, allocations: 0 / 443.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.006398, allocations: 0 / 443.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.006403, allocations: 0 / 443.6 MB, free: 4.676 MB / 366.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.0004655/0.006868, allocations: 325.7 kB / 443.9 MB, free: 4.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.006902, allocations: 12.03 kB / 443.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.006947, allocations: 12.83 kB / 443.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.007128, allocations: 129.7 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.007137, allocations: 384 / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.007156, allocations: 8.375 kB / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.007324, allocations: 85.67 kB / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.007336, allocations: 4.141 kB / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.007346, allocations: 4.125 kB / 444.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.007352, allocations: 3.984 kB / 444.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.128e-05/0.007443, allocations: 23.98 kB / 444.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.007763, allocations: 216.6 kB / 444.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.007955, allocations: 38.56 kB / 444.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.008013, allocations: 24.94 kB / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.008033, allocations: 3.938 kB / 444.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.008062, allocations: 34.56 kB / 444.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.008063, allocations: 0 / 444.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005456/0.008609, allocations: 145.4 kB / 444.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.00867, allocations: 77.11 kB / 444.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.008835, allocations: 148.3 kB / 444.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.008856, allocations: 29.7 kB / 444.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.008916, allocations: 100 kB / 445 MB, free: 3.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.008944, allocations: 23.84 kB / 445 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.00898, allocations: 17.72 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.009118, allocations: 314.8 kB / 445.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.009191, allocations: 19.97 kB / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.692e-05/0.009288, allocations: 59.41 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.009428, allocations: 44.83 kB / 445.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.009431, allocations: 3.969 kB / 445.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.009626, allocations: 81.88 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.009638, allocations: 4 kB / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.009644, allocations: 7.938 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.009658, allocations: 4 kB / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.009726, allocations: 19.92 kB / 445.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.00973, allocations: 0 / 445.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.009779, allocations: 4 kB / 445.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.009785, allocations: 0 / 445.5 MB, free: 2.484 MB / 366.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 9.526e-05/0.00988, allocations: 129.7 kB / 445.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.009917, allocations: 7.953 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.01017, allocations: 90.11 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01017, allocations: 0 / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01017, allocations: 0 / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.01018, allocations: 4 kB / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.0106, allocations: 290.1 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.0106, allocations: 7.984 kB / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.01066, allocations: 12 kB / 446.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01066, allocations: 0 / 446.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.01067, allocations: 0 / 446.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01067, allocations: 0 / 446.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01067, allocations: 0 / 446.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.01092, allocations: 187.3 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.01094, allocations: 3.953 kB / 446.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.01096, allocations: 4 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.01104, allocations: 8.172 kB / 446.3 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.01106, allocations: 4 kB / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.01107, allocations: 8 kB / 446.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.983e-05/0.01117, allocations: 111.2 kB / 446.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01117, allocations: 0 / 446.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000301/0.01147, allocations: 43.86 kB / 446.4 MB, free: 1.52 MB / 366.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.001824/0.01329, allocations: 0.5208 MB / 447 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.0135, allocations: 55.83 kB / 447 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.0135, allocations: 0 / 447 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.739e-05/0.01358, allocations: 23.98 kB / 447 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.01386, allocations: 15.98 kB / 447.1 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.01426, allocations: 168.7 kB / 447.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.41e-05/0.01434, allocations: 71.33 kB / 447.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.332e-05/0.0144, allocations: 19.97 kB / 447.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.01445, allocations: 16.5 kB / 447.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01445, allocations: 0 / 447.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of Templates: time 0.1784/0.1928, allocations: 1.81 MB / 449.1 MB, free: 21.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.5559538044035435]