Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.0009686/0.0009686, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002317, 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.0009236/0.0009236, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.002114, 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.134/1.174, allocations: 53.66 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.2406/0.2406, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0219/0.2625, allocations: 12.52 MB / 289.3 MB, free: 8.68 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.894e-05, allocations: 2.312 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003086/0.003105, allocations: 1.809 MB / 292.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.004834, allocations: 1.016 MB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.249e-05/0.004916, allocations: 0 / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.005146, allocations: 47.88 kB / 293.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.00542, allocations: 90.78 kB / 293.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.005636, allocations: 83.59 kB / 293.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.00583, allocations: 107.6 kB / 293.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.005933, allocations: 8.734 kB / 293.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.006097, allocations: 87.75 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.913e-05/0.006186, allocations: 23.91 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.006205, allocations: 8 kB / 294 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.006312, allocations: 43.92 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.006365, allocations: 19.92 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.006407, allocations: 15.94 kB / 294.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.006609, allocations: 107.5 kB / 294.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.687e-05/0.006626, allocations: 0 / 294.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.006627, allocations: 0 / 294.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.006645, allocations: 0 / 294.2 MB, free: 4.742 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.0005319/0.007177, allocations: 336.5 kB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.007219, allocations: 8.031 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.007265, allocations: 4.938 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.007461, allocations: 162 kB / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.007477, allocations: 384 / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.007494, allocations: 4.375 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.007612, allocations: 61.77 kB / 294.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.007623, allocations: 7.875 kB / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.007631, allocations: 4 kB / 294.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.007636, allocations: 0 / 294.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.007669, allocations: 7.984 kB / 294.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.008048, allocations: 169.8 kB / 294.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.008161, allocations: 101.3 kB / 295 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.008184, allocations: 8.859 kB / 295 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.008197, allocations: 4 kB / 295 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.008309, allocations: 70.09 kB / 295.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.008311, allocations: 0 / 295.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003432/0.008654, allocations: 101.8 kB / 295.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.008686, allocations: 55.41 kB / 295.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.008833, allocations: 180.8 kB / 295.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.008851, allocations: 29.69 kB / 295.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.008895, allocations: 96.12 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.008931, allocations: 35.72 kB / 295.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.008973, allocations: 21.7 kB / 295.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.009061, allocations: 322.8 kB / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.009085, allocations: 14.81 kB / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.009113, allocations: 21.83 kB / 295.9 MB, free: 2.785 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.718e-05/0.00917, allocations: 48.45 kB / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.009172, allocations: 0 / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001054/0.009277, allocations: 80.36 kB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.00929, allocations: 8.031 kB / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.009297, allocations: 4 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.009305, allocations: 0 / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.009388, allocations: 15.98 kB / 296.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.009391, allocations: 4 kB / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.009429, allocations: 0 / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.00944, allocations: 4 kB / 296.1 MB, free: 2.609 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 7.723e-05/0.009517, allocations: 116.7 kB / 296.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.009537, allocations: 11.92 kB / 296.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.009667, allocations: 79.22 kB / 296.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.009671, allocations: 8 kB / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.009673, allocations: 0 / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.009677, allocations: 3.984 kB / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.009951, allocations: 291.4 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.009952, allocations: 0 / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.009989, allocations: 8 kB / 296.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.01001, allocations: 23.88 kB / 296.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01001, allocations: 7.938 kB / 296.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.01002, allocations: 3.938 kB / 296.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01002, allocations: 0 / 296.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01002, allocations: 4.031 kB / 296.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.01015, allocations: 215.1 kB / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.01017, allocations: 7.938 kB / 296.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.01024, allocations: 7.984 kB / 296.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.01027, allocations: 4 kB / 296.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01029, allocations: 3.984 kB / 296.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.01035, allocations: 55.64 kB / 296.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01035, allocations: 0 / 296.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.0106, allocations: 23.94 kB / 297 MB, free: 1.684 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.002113/0.01271, allocations: 0.63 MB / 297.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.01282, allocations: 48.7 kB / 297.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.01283, allocations: 4 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.01287, allocations: 32.84 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.01312, allocations: 37.8 kB / 297.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.0137, allocations: 231.7 kB / 297.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.145e-05/0.01375, allocations: 75.33 kB / 298 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.0138, allocations: 17.27 kB / 298 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.606e-05/0.01388, allocations: 63.38 kB / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01388, allocations: 4.062 kB / 298.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of Templates: time 0.004943/0.01882, allocations: 2.048 MB / 300.1 MB, free: 14.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.0931016178801656]