Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001214/0.001214, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001732/0.002946, allocations: 449.8 kB / 10.44 MB, free: 252 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.001054/0.001054, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.002445, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9597/0.9597, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09744/1.057, allocations: 53.66 MB / 243.4 MB, free: 15.53 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.267/0.267, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03782/0.3048, allocations: 13.1 MB / 291.5 MB, free: 7.34 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 292.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.058e-05, allocations: 4.812 kB / 292.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.005929/0.005949, allocations: 2.045 MB / 295 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.007662, allocations: 1.19 MB / 296.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.59e-05/0.007758, allocations: 3.938 kB / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.008237, allocations: 199.2 kB / 296.3 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.01026, allocations: 223 kB / 296.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.01065, allocations: 176.3 kB / 296.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.01098, allocations: 267.2 kB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.01107, allocations: 18.55 kB / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.01138, allocations: 209.5 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.01155, allocations: 91.7 kB / 297.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.01158, allocations: 12 kB / 297.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.01174, allocations: 71.83 kB / 297.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.9e-05/0.01181, allocations: 43.86 kB / 297.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.01187, allocations: 43.81 kB / 297.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.01213, allocations: 167.3 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.01214, allocations: 0 / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01214, allocations: 7.938 kB / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.01215, allocations: 0 / 297.6 MB, free: 1.379 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000709/0.01286, allocations: 497.9 kB / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.0129, allocations: 19.95 kB / 298.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.01295, allocations: 16.92 kB / 298.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.01323, allocations: 218.6 kB / 298.4 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.01325, allocations: 4.375 kB / 298.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.01326, allocations: 12.38 kB / 298.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.01342, allocations: 86.67 kB / 298.5 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.01343, allocations: 3.938 kB / 298.5 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.01344, allocations: 0 / 298.5 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.01345, allocations: 0 / 298.5 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.019e-05/0.0135, allocations: 25.58 kB / 298.5 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.0138, allocations: 201.6 kB / 298.7 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.01395, allocations: 126.7 kB / 298.8 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.01399, allocations: 33.7 kB / 298.9 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.014, allocations: 0 / 298.9 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.01416, allocations: 106 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.01416, allocations: 0 / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001923/0.01436, allocations: 103.7 kB / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01439, allocations: 77.11 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.01466, allocations: 280.6 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.01468, allocations: 33.7 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.01474, allocations: 116.7 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.01477, allocations: 27.75 kB / 299.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.01482, allocations: 29.69 kB / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.01493, allocations: 342.8 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.127e-05/0.01496, allocations: 14.81 kB / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.01503, allocations: 69.94 kB / 300 MB, free: 14.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.957e-05/0.01512, allocations: 75.88 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01512, allocations: 0 / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001501/0.01527, allocations: 107.2 kB / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.01528, allocations: 7.938 kB / 300.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01529, allocations: 3.938 kB / 300.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.0153, allocations: 4 kB / 300.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.01541, allocations: 23.98 kB / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.01541, allocations: 0 / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.01549, allocations: 15.95 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.0155, allocations: 3.984 kB / 300.3 MB, free: 14.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001004/0.0156, allocations: 124.7 kB / 300.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.01563, allocations: 23.92 kB / 300.4 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.0158, allocations: 107.5 kB / 300.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.0158, allocations: 4 kB / 300.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.01581, allocations: 192 / 300.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.01581, allocations: 4 kB / 300.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.01596, allocations: 125.7 kB / 300.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01597, allocations: 0 / 300.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.01601, allocations: 11.98 kB / 300.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.01604, allocations: 23.81 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.01605, allocations: 7.938 kB / 300.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.01606, allocations: 8 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.01606, allocations: 3.984 kB / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01606, allocations: 0 / 300.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.01621, allocations: 133.2 kB / 300.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.01624, allocations: 4 kB / 300.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.01631, allocations: 11.92 kB / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.01634, allocations: 11.98 kB / 300.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.01636, allocations: 7.984 kB / 300.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.01649, allocations: 111.5 kB / 301 MB, free: 13.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01649, allocations: 0 / 301 MB, free: 13.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000232/0.01672, allocations: 43.94 kB / 301 MB, free: 13.68 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001687/0.01841, allocations: 0.5604 MB / 301.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.01856, allocations: 60.7 kB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.01857, allocations: 4 kB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.072e-05/0.01864, allocations: 40.77 kB / 301.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.01904, allocations: 398.7 kB / 302.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008458/0.01989, allocations: 372.1 kB / 302.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.77e-05/0.01997, allocations: 87.97 kB / 302.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.609e-05/0.02006, allocations: 30.16 kB / 302.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.02022, allocations: 87.34 kB / 302.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02022, allocations: 0 / 302.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of Templates: time 0.006444/0.02666, allocations: 3.583 MB / 306.2 MB, free: 8.738 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.99602828361094]