Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.0007702/0.0007702, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001123/0.001893, allocations: 449.7 kB / 10.37 MB, free: 324 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.001096/0.001096, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.002157, allocations: 455.6 kB / 11.71 MB, free: 2.457 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.112, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2981/0.2981, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02944/0.3276, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.7 MB " [Timeout remaining time 180] 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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.995e-05, allocations: 3.188 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002707/0.002737, allocations: 1.812 MB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.004256, allocations: 1.01 MB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.004375, allocations: 4 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.004657, allocations: 39.77 kB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.004968, allocations: 95.42 kB / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.005227, allocations: 79.66 kB / 295.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.005422, allocations: 111.6 kB / 295.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.005519, allocations: 7.938 kB / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.005682, allocations: 75.86 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.664e-05/0.005778, allocations: 23.86 kB / 296 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.005795, allocations: 4 kB / 296 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.00591, allocations: 55.84 kB / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.005971, allocations: 23.92 kB / 296 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.006019, allocations: 15.94 kB / 296.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.00623, allocations: 91.67 kB / 296.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.099e-05/0.006251, allocations: 0 / 296.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.006252, allocations: 0 / 296.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.00627, allocations: 0 / 296.2 MB, free: 2.758 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.0005243/0.006795, allocations: 329 kB / 296.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.006831, allocations: 12.02 kB / 296.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.006868, allocations: 8.938 kB / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.007038, allocations: 146.2 kB / 296.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.007055, allocations: 4.375 kB / 296.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.007073, allocations: 4.375 kB / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.007202, allocations: 65.75 kB / 296.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.007214, allocations: 3.938 kB / 296.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.007222, allocations: 4 kB / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.007229, allocations: 0 / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.953e-05/0.007259, allocations: 4 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.007497, allocations: 173.9 kB / 296.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.007599, allocations: 85.28 kB / 297 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.00762, allocations: 16.86 kB / 297 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.007632, allocations: 4 kB / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.007736, allocations: 70.09 kB / 297.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.007737, allocations: 0 / 297.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000318/0.008055, allocations: 105.6 kB / 297.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.008159, allocations: 59.39 kB / 297.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.008258, allocations: 169 kB / 297.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.008272, allocations: 25.7 kB / 297.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.008306, allocations: 88.12 kB / 297.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.008341, allocations: 35.72 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.00838, allocations: 29.66 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.008456, allocations: 326.8 kB / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.008475, allocations: 10.81 kB / 297.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.008501, allocations: 21.72 kB / 297.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.205e-05/0.008543, allocations: 44.5 kB / 298 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.008544, allocations: 0 / 298 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.998e-05/0.008624, allocations: 72.44 kB / 298 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.008637, allocations: 8 kB / 298 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.008642, allocations: 0 / 298 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.00865, allocations: 4.031 kB / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.008728, allocations: 20 kB / 298.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.008732, allocations: 7.922 kB / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.747e-05/0.008759, allocations: 7.938 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.008764, allocations: 0 / 298.1 MB, free: 0.6523 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.046e-05/0.008835, allocations: 116.7 kB / 298.2 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.008848, allocations: 11.92 kB / 298.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.008962, allocations: 79.08 kB / 298.3 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008964, allocations: 0 / 298.3 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.008965, allocations: 0 / 298.3 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.008969, allocations: 4 kB / 298.3 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.009194, allocations: 295.4 kB / 298.6 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009196, allocations: 0 / 298.6 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.009234, allocations: 8 kB / 298.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.009247, allocations: 11.94 kB / 298.6 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.00925, allocations: 4 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.009257, allocations: 4.375 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.009259, allocations: 3.984 kB / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.009261, allocations: 0 / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.009384, allocations: 227 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.0094, allocations: 4 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.275e-05/0.009443, allocations: 4 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.009469, allocations: 3.984 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.009484, allocations: 4 kB / 298.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.402e-05/0.009528, allocations: 52.33 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009528, allocations: 0 / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001617/0.00969, allocations: 27.94 kB / 298.9 MB, free: 15.74 MB / 298.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.00162/0.01131, allocations: 0.6312 MB / 299.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.01143, allocations: 36.78 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.01144, allocations: 4 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.01148, allocations: 32.92 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.01169, allocations: 53.45 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.01218, allocations: 220 kB / 299.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.01222, allocations: 67.33 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.17e-05/0.01226, allocations: 16.97 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.01233, allocations: 67.31 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01233, allocations: 0 / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of Templates: time 0.004049/0.01638, allocations: 2.043 MB / 302.1 MB, free: 12.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.0558387730270624]