Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008742/0.0008742, allocations: 83.69 kB / 21.43 MB, free: 3.121 MB / 18.57 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.003497/0.003497, allocations: 162.6 kB / 24.7 MB, free: 9.406 MB / 18.57 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.8557/0.8557, allocations: 177.2 MB / 205 MB, free: 5.727 MB / 186.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.2239/0.2239, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 440.9 MB, free: 3.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.235e-05, allocations: 8.672 kB / 440.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002604/0.002636, allocations: 1.916 MB / 442.9 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.003966, allocations: 1.138 MB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.303e-05/0.004059, allocations: 7.938 kB / 444 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.004624, allocations: 199.3 kB / 444.2 MB, free: 400 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.00493, allocations: 211.1 kB / 444.4 MB, free: 188 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.005188, allocations: 165.9 kB / 444.6 MB, free: 24 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1979/0.203, allocations: 281.3 kB / 444.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.2032, allocations: 15.25 kB / 444.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.2033, allocations: 148 kB / 445 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.2035, allocations: 104.5 kB / 445.1 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.2035, allocations: 9.969 kB / 445.1 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.2037, allocations: 59 kB / 445.2 MB, free: 43.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.2037, allocations: 55.05 kB / 445.2 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.2038, allocations: 55.5 kB / 445.3 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.2041, allocations: 241.7 kB / 445.5 MB, free: 43.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2041, allocations: 0 / 445.5 MB, free: 43.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2041, allocations: 0 / 445.5 MB, free: 43.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2041, allocations: 2.656 kB / 445.5 MB, free: 43.91 MB / 410.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.0005693/0.2047, allocations: 498.3 kB / 446 MB, free: 43.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2047, allocations: 11.81 kB / 446 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.2048, allocations: 34.19 kB / 446 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.205, allocations: 228.5 kB / 446.3 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.205, allocations: 3.188 kB / 446.3 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.205, allocations: 3.531 kB / 446.3 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.2052, allocations: 109 kB / 446.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2052, allocations: 0 / 446.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2052, allocations: 10.44 kB / 446.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2052, allocations: 2.688 kB / 446.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.2053, allocations: 41.88 kB / 446.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.2056, allocations: 308.3 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2058, allocations: 121.7 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.2059, allocations: 43.25 kB / 446.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2059, allocations: 3.938 kB / 446.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.206, allocations: 117.4 kB / 447 MB, free: 42.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.206, allocations: 2.25 kB / 447 MB, free: 42.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002896/0.2063, allocations: 191 kB / 447.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.2063, allocations: 77.11 kB / 447.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.2066, allocations: 361.5 kB / 447.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.2066, allocations: 28.58 kB / 447.7 MB, free: 42.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.2066, allocations: 147.6 kB / 447.8 MB, free: 42.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.2066, allocations: 28.48 kB / 447.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.2067, allocations: 30.75 kB / 447.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.2067, allocations: 337.1 kB / 448.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.2068, allocations: 37.92 kB / 448.2 MB, free: 42.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.2068, allocations: 101.2 kB / 448.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.2069, allocations: 101 kB / 448.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2069, allocations: 3.438 kB / 448.4 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001517/0.2071, allocations: 156 kB / 448.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2071, allocations: 5.75 kB / 448.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2071, allocations: 0 / 448.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2071, allocations: 3.781 kB / 448.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8e-05/0.2072, allocations: 31.47 kB / 448.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2072, allocations: 3.375 kB / 448.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.2073, allocations: 17.44 kB / 448.6 MB, free: 42.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.2073, allocations: 6.5 kB / 448.6 MB, free: 42.09 MB / 410.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 7.819e-05/0.2073, allocations: 153.6 kB / 448.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.2074, allocations: 29.7 kB / 448.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.2076, allocations: 181.6 kB / 449 MB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2076, allocations: 3.938 kB / 449 MB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2076, allocations: 0 / 449 MB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2076, allocations: 0 / 449 MB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.2077, allocations: 188.2 kB / 449.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2077, allocations: 3.375 kB / 449.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.2077, allocations: 18.38 kB / 449.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2077, allocations: 3.938 kB / 449.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2077, allocations: 2.781 kB / 449.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2077, allocations: 0 / 449.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.2077, allocations: 6.234 kB / 449.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.2079, allocations: 196 kB / 449.4 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.2079, allocations: 32.31 kB / 449.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.208, allocations: 2.594 kB / 449.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.208, allocations: 12.94 kB / 449.5 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.208, allocations: 10.17 kB / 449.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.208, allocations: 11.47 kB / 449.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.2082, allocations: 264.8 kB / 449.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2082, allocations: 0 / 449.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.2084, allocations: 33.53 kB / 449.8 MB, free: 41.61 MB / 410.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.0007527/0.2091, allocations: 464.8 kB / 450.2 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.2093, allocations: 92.25 kB / 450.3 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2093, allocations: 4.125 kB / 450.3 MB, free: 41.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.474e-05/0.2094, allocations: 50 kB / 450.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2096, allocations: 62.86 kB / 450.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.2101, allocations: 445.1 kB / 450.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.573e-05/0.2102, allocations: 140.7 kB / 451 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.2102, allocations: 23.42 kB / 451 MB, free: 41.1 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2102, allocations: 2.875 kB / 451 MB, free: 41.1 MB / 410.7 MB Notification: Performance of Templates: time 0.003589/0.2138, allocations: 3.455 MB / 454.5 MB, free: 40.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.991685787215829]