Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001298/0.001298, allocations: 85.83 kB / 20.68 MB, free: 1.035 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.001377/0.001377, allocations: 165.2 kB / 23.95 MB, free: 4.168 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.344/1.344, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] 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.191/0.191, allocations: 32.8 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.461e-05, allocations: 2.281 kB / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002846/0.002871, allocations: 1.599 MB / 441.7 MB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.004028, allocations: 0.522 MB / 442.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.004083, allocations: 0 / 442.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.004297, allocations: 19.86 kB / 442.2 MB, free: 6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.004613, allocations: 83.55 kB / 442.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.004889, allocations: 90.83 kB / 442.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.005051, allocations: 75.7 kB / 442.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.37e-05/0.005144, allocations: 8 kB / 442.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.005224, allocations: 35.89 kB / 442.5 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.584e-05/0.00528, allocations: 11.92 kB / 442.5 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.005301, allocations: 4 kB / 442.5 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.122e-05/0.005382, allocations: 31.94 kB / 442.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.005433, allocations: 15.91 kB / 442.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.005465, allocations: 8 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.005644, allocations: 79.72 kB / 442.7 MB, free: 5.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005646, allocations: 11.88 kB / 442.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005647, allocations: 0 / 442.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.005651, allocations: 0 / 442.7 MB, free: 5.555 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.0004529/0.006104, allocations: 301.9 kB / 443 MB, free: 5.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.006136, allocations: 8.031 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.006173, allocations: 8.891 kB / 443 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.006357, allocations: 141.6 kB / 443.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.006367, allocations: 384 / 443.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.006385, allocations: 384 / 443.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.00652, allocations: 46.25 kB / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.006532, allocations: 4.188 kB / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.006544, allocations: 8.125 kB / 443.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.006548, allocations: 0 / 443.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.967e-05/0.006648, allocations: 31.84 kB / 443.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.006962, allocations: 216.6 kB / 443.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.007189, allocations: 38.56 kB / 443.5 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.007242, allocations: 16.86 kB / 443.5 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.007265, allocations: 7.875 kB / 443.5 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.007294, allocations: 38.64 kB / 443.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.007295, allocations: 4 kB / 443.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005647/0.007859, allocations: 141.4 kB / 443.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.007904, allocations: 51.41 kB / 443.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.008053, allocations: 153.1 kB / 443.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.00807, allocations: 25.7 kB / 443.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.00813, allocations: 92.14 kB / 444 MB, free: 4.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.00816, allocations: 23.8 kB / 444 MB, free: 4.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.0082, allocations: 25.7 kB / 444 MB, free: 4.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.008333, allocations: 314.8 kB / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.008404, allocations: 15.98 kB / 444.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.008467, allocations: 19.98 kB / 444.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.00861, allocations: 48.83 kB / 444.4 MB, free: 3.641 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.008611, allocations: 0 / 444.4 MB, free: 3.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001959/0.008807, allocations: 89.48 kB / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.00882, allocations: 8 kB / 444.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.008827, allocations: 4.234 kB / 444.5 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.008839, allocations: 0 / 444.5 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.937e-05/0.008908, allocations: 16 kB / 444.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.008918, allocations: 3.984 kB / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.008961, allocations: 4 kB / 444.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.008967, allocations: 0 / 444.6 MB, free: 3.512 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.287e-05/0.009059, allocations: 114.5 kB / 444.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.009094, allocations: 11.89 kB / 444.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.009342, allocations: 106.3 kB / 444.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.009345, allocations: 0 / 444.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.009348, allocations: 0 / 444.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.009353, allocations: 3.984 kB / 444.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.009757, allocations: 290.2 kB / 445.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.009758, allocations: 0 / 445.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.009821, allocations: 15.98 kB / 445.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009823, allocations: 0 / 445.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.00983, allocations: 4 kB / 445.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009832, allocations: 0 / 445.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009833, allocations: 0 / 445.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.01008, allocations: 183.4 kB / 445.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.01009, allocations: 7.938 kB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.0101, allocations: 7.938 kB / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.01017, allocations: 0 / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.01021, allocations: 11.98 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.01021, allocations: 192 / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.361e-05/0.01031, allocations: 115.3 kB / 445.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01031, allocations: 0 / 445.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.01055, allocations: 23.92 kB / 445.4 MB, free: 2.562 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.001574/0.01213, allocations: 420.9 kB / 445.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.01233, allocations: 47.91 kB / 445.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01233, allocations: 0 / 445.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.074e-05/0.01241, allocations: 19.98 kB / 445.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.0127, allocations: 27.86 kB / 445.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.01312, allocations: 177.4 kB / 446.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.655e-05/0.01319, allocations: 75.33 kB / 446.2 MB, free: 1.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.614e-05/0.01323, allocations: 4 kB / 446.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.01326, allocations: 20.48 kB / 446.2 MB, free: 1.91 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.01327, allocations: 7.938 kB / 446.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of Templates: time 0.004039/0.0173, allocations: 1.15 MB / 447.4 MB, free: 0.7695 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.363261178135872]