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.000839/0.000839, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001922, 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.0006952/0.0006952, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009366/0.001632, 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.9565/0.9565, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1079/1.064, 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.2716/0.2716, allocations: 34.25 MB / 278.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02586/0.2974, allocations: 13.1 MB / 291.3 MB, free: 7.375 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.814e-06/1.814e-06, allocations: 0 / 292.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.544e-05, allocations: 3.438 kB / 292.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003588/0.003613, allocations: 2.039 MB / 294.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.005256, allocations: 1.189 MB / 295.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/0.005354, allocations: 4 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.005807, allocations: 195.2 kB / 296.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.0061, allocations: 219.1 kB / 296.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.006371, allocations: 164.9 kB / 296.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.006626, allocations: 275.1 kB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.006726, allocations: 14.56 kB / 296.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.006958, allocations: 213.4 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.007082, allocations: 95.77 kB / 297.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.007103, allocations: 8 kB / 297.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.007231, allocations: 67.89 kB / 297.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.007297, allocations: 55.78 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.007343, allocations: 35.88 kB / 297.2 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.007541, allocations: 171.3 kB / 297.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.529e-05/0.007556, allocations: 0 / 297.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.007557, allocations: 0 / 297.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.007572, allocations: 0 / 297.4 MB, free: 1.492 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.0005549/0.008127, allocations: 0.5017 MB / 297.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.008157, allocations: 8.031 kB / 297.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.008196, allocations: 20.92 kB / 297.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.008422, allocations: 218.6 kB / 298.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.008442, allocations: 12.36 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.008454, allocations: 4.375 kB / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.008584, allocations: 82.69 kB / 298.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.008594, allocations: 3.938 kB / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.008602, allocations: 0 / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.008608, allocations: 0 / 298.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.875e-05/0.008646, allocations: 25.62 kB / 298.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.008916, allocations: 209.6 kB / 298.5 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.009042, allocations: 122.7 kB / 298.6 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.009073, allocations: 25.72 kB / 298.6 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.009086, allocations: 0 / 298.6 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.00922, allocations: 114 kB / 298.7 MB, free: 24 kB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 6.61e-07/0.009221, allocations: 0 / 298.7 MB, free: 24 kB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001647/0.009385, allocations: 107.2 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.009417, allocations: 77.11 kB / 298.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.009591, allocations: 284.6 kB / 299.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.009608, allocations: 29.7 kB / 299.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.009651, allocations: 112.7 kB / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.009674, allocations: 31.73 kB / 299.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.009716, allocations: 29.7 kB / 299.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.009794, allocations: 338.8 kB / 299.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.009814, allocations: 14.81 kB / 299.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.00986, allocations: 79.19 kB / 299.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.682e-05/0.009917, allocations: 71.84 kB / 299.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.00992, allocations: 4 kB / 299.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.414e-05/0.01001, allocations: 99.12 kB / 300 MB, free: 14.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.01002, allocations: 4 kB / 300 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.01003, allocations: 4 kB / 300 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.01004, allocations: 0 / 300 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.01012, allocations: 27.98 kB / 300 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.01012, allocations: 0 / 300 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.01016, allocations: 20.62 kB / 300 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.01016, allocations: 4 kB / 300.1 MB, free: 14.6 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 6.979e-05/0.01023, allocations: 124.6 kB / 300.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.01026, allocations: 23.92 kB / 300.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.01037, allocations: 107.4 kB / 300.3 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.01037, allocations: 4 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.01038, allocations: 0 / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01038, allocations: 3.984 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.902e-05/0.01048, allocations: 121.8 kB / 300.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01048, allocations: 4 kB / 300.4 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.01051, allocations: 12 kB / 300.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.01053, allocations: 23.81 kB / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01054, allocations: 11.88 kB / 300.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.01054, allocations: 3.984 kB / 300.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.01054, allocations: 0 / 300.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01054, allocations: 4 kB / 300.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.01065, allocations: 123.9 kB / 300.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.01067, allocations: 11.92 kB / 300.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.0107, allocations: 8 kB / 300.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.01074, allocations: 11.98 kB / 300.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.01075, allocations: 7.984 kB / 300.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.277e-05/0.01083, allocations: 115.5 kB / 300.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01083, allocations: 0 / 300.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001373/0.01097, allocations: 35.94 kB / 300.8 MB, free: 13.79 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.001264/0.01223, allocations: 0.5662 MB / 301.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.01233, allocations: 60.77 kB / 301.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.01234, allocations: 8.125 kB / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.01238, allocations: 33.03 kB / 301.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.01257, allocations: 79.89 kB / 301.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.01308, allocations: 364.2 kB / 301.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.01312, allocations: 83.95 kB / 302 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.302e-05/0.01318, allocations: 30.09 kB / 302 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.01327, allocations: 103.3 kB / 302.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01327, allocations: 0 / 302.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of Templates: time 0.004842/0.01811, allocations: 3.557 MB / 305.7 MB, free: 9.242 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.952231085859239]