Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.0009655/0.0009655, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001208/0.002174, 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.0008078/0.0008078, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.00184, 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 0.9933/0.9933, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1211/1.114, 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.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.331/0.331, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.035/0.366, allocations: 12.52 MB / 289.3 MB, free: 8.688 MB / 282.7 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.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.416e-05/3.657e-05, allocations: 6.391 kB / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002912/0.002948, allocations: 1.802 MB / 292.5 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.004589, allocations: 1.024 MB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.22e-05/0.004681, allocations: 0 / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.004937, allocations: 45.8 kB / 293.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.005196, allocations: 92.47 kB / 293.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.005398, allocations: 75.67 kB / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.005594, allocations: 115.6 kB / 293.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.005683, allocations: 4.75 kB / 293.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.005814, allocations: 83.75 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.005902, allocations: 31.91 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.005919, allocations: 4 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.905e-05/0.006008, allocations: 43.92 kB / 294 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.006057, allocations: 15.94 kB / 294 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.006093, allocations: 11.94 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.006264, allocations: 103.6 kB / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.702e-05/0.006281, allocations: 0 / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006282, allocations: 0 / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.0063, allocations: 0 / 294.1 MB, free: 4.762 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000495/0.006795, allocations: 340.5 kB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.006833, allocations: 12.03 kB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.006869, allocations: 12.92 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.00704, allocations: 146.3 kB / 294.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.007058, allocations: 4.375 kB / 294.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.007076, allocations: 4.375 kB / 294.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.007193, allocations: 61.75 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.007203, allocations: 3.938 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.007212, allocations: 4 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.007218, allocations: 0 / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/0.007248, allocations: 8 kB / 294.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.007517, allocations: 165.9 kB / 294.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.007647, allocations: 85.34 kB / 295 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.007674, allocations: 16.86 kB / 295 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.007692, allocations: 0 / 295 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.007838, allocations: 66.14 kB / 295.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 3.316e-06/0.007841, allocations: 3.938 kB / 295.1 MB, free: 3.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004208/0.008262, allocations: 113.7 kB / 295.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.008315, allocations: 59.33 kB / 295.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.008454, allocations: 176.8 kB / 295.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.008481, allocations: 37.7 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.008526, allocations: 92.11 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.008566, allocations: 19.84 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.008614, allocations: 25.7 kB / 295.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.008727, allocations: 326.8 kB / 295.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.008747, allocations: 6.828 kB / 295.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.008776, allocations: 25.84 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.423e-05/0.00883, allocations: 48.44 kB / 296 MB, free: 2.762 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008832, allocations: 0 / 296 MB, free: 2.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.538e-05/0.008927, allocations: 72.44 kB / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.008943, allocations: 8 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.00895, allocations: 0 / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.008964, allocations: 0 / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.009062, allocations: 23.92 kB / 296.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.009068, allocations: 0 / 296.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.009099, allocations: 4 kB / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.009106, allocations: 4 kB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.692e-05/0.009193, allocations: 116.6 kB / 296.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.009212, allocations: 19.91 kB / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.009352, allocations: 79.27 kB / 296.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.009357, allocations: 3.984 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.00936, allocations: 0 / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.009364, allocations: 0 / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.009639, allocations: 303.4 kB / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.009642, allocations: 0 / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.009677, allocations: 8 kB / 296.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.00969, allocations: 11.94 kB / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.009694, allocations: 4 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.009702, allocations: 0 / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.009704, allocations: 4.031 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009706, allocations: 0 / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.009833, allocations: 227 kB / 296.8 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.00985, allocations: 3.938 kB / 296.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.17e-05/0.009892, allocations: 7.984 kB / 296.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.009921, allocations: 4 kB / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.009935, allocations: 7.984 kB / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.593e-05/0.00998, allocations: 47.66 kB / 296.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.009981, allocations: 0 / 296.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.01015, allocations: 23.98 kB / 296.9 MB, free: 1.723 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001693/0.01184, allocations: 0.6315 MB / 297.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.012, allocations: 48.7 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/0.01201, allocations: 8.062 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.01205, allocations: 20.84 kB / 297.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.0123, allocations: 43.78 kB / 297.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007153/0.01301, allocations: 223.7 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.622e-05/0.01307, allocations: 71.33 kB / 298 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.715e-05/0.01312, allocations: 17.27 kB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.25e-05/0.01321, allocations: 67.42 kB / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of SimCode: time 1.893e-06/0.01321, allocations: 4 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of Templates: time 0.004465/0.01768, allocations: 2.044 MB / 300.1 MB, free: 14.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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: 3.1878576995804906]