Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001689/0.002817, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002692, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.01/1.01, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08975/1.099, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2763/0.2763, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02493/0.3012, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 293.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01e-05/1.117e-05, allocations: 8.359 kB / 293.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004592/0.004603, allocations: 2.026 MB / 296 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.00638, allocations: 1.189 MB / 297.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.006524, allocations: 7.938 kB / 297.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.007183, allocations: 195.3 kB / 297.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.007597, allocations: 215.1 kB / 297.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.007949, allocations: 173.1 kB / 297.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.008234, allocations: 263.2 kB / 298 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.008351, allocations: 22.53 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.008603, allocations: 205.5 kB / 298.2 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.008749, allocations: 91.77 kB / 298.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.008772, allocations: 8 kB / 298.3 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.008942, allocations: 75.77 kB / 298.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.009018, allocations: 47.86 kB / 298.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.967e-05/0.009077, allocations: 35.88 kB / 298.5 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.00937, allocations: 183.3 kB / 298.6 MB, free: 376 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.925e-05/0.009389, allocations: 0 / 298.6 MB, free: 376 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.009391, allocations: 0 / 298.6 MB, free: 376 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.00941, allocations: 0 / 298.6 MB, free: 376 kB / 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.0006579/0.01007, allocations: 0.4979 MB / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.0101, allocations: 8.922 kB / 299.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.01014, allocations: 16.92 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.01038, allocations: 218.5 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.0104, allocations: 8.375 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.01042, allocations: 8.359 kB / 299.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.01055, allocations: 86.73 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.01055, allocations: 192 / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.01056, allocations: 8.297 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.01057, allocations: 3.938 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.01061, allocations: 25.58 kB / 299.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.01088, allocations: 205.6 kB / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.01103, allocations: 122.7 kB / 299.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/0.01106, allocations: 33.66 kB / 299.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.01108, allocations: 0 / 299.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.01123, allocations: 103.9 kB / 300 MB, free: 14.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.01123, allocations: 0 / 300 MB, free: 14.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001659/0.0114, allocations: 103.2 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.01144, allocations: 77.11 kB / 300.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.01161, allocations: 276.7 kB / 300.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.01163, allocations: 33.7 kB / 300.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.035e-05/0.01169, allocations: 116.7 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.01171, allocations: 31.78 kB / 300.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.01175, allocations: 29.69 kB / 300.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.01184, allocations: 342.7 kB / 301 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.01186, allocations: 14.81 kB / 301 MB, free: 13.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-05/0.01191, allocations: 84.44 kB / 301.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.094e-05/0.01197, allocations: 63.83 kB / 301.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01197, allocations: 0 / 301.1 MB, free: 13.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001053/0.01208, allocations: 99.91 kB / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.01209, allocations: 10.44 kB / 301.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.0121, allocations: 4 kB / 301.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.01211, allocations: 0 / 301.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.668e-05/0.01219, allocations: 31.92 kB / 301.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.0122, allocations: 0 / 301.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.484e-05/0.01224, allocations: 19.94 kB / 301.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.01225, allocations: 3.984 kB / 301.3 MB, free: 13.48 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 7.782e-05/0.01233, allocations: 131.1 kB / 301.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.01235, allocations: 24.05 kB / 301.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.01248, allocations: 103.4 kB / 301.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01249, allocations: 4 kB / 301.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.01249, allocations: 0 / 301.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01249, allocations: 0 / 301.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.0126, allocations: 125.7 kB / 301.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.0126, allocations: 0 / 301.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.01264, allocations: 19.94 kB / 301.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.01266, allocations: 19.81 kB / 301.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01267, allocations: 4 kB / 301.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.01267, allocations: 7.922 kB / 301.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01267, allocations: 4 kB / 301.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01268, allocations: 0 / 301.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.01278, allocations: 123.7 kB / 301.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.0128, allocations: 7.984 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.43e-05/0.01284, allocations: 8 kB / 301.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.01287, allocations: 15.91 kB / 301.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.01288, allocations: 11.92 kB / 301.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.711e-05/0.01297, allocations: 115.5 kB / 302 MB, free: 12.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01297, allocations: 0 / 302 MB, free: 12.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.01314, allocations: 35.94 kB / 302 MB, free: 12.67 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.001243/0.01438, allocations: 0.5452 MB / 302.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.01451, allocations: 60.77 kB / 302.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.01452, allocations: 4 kB / 302.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.233e-05/0.01456, allocations: 40.77 kB / 302.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.01476, allocations: 80.53 kB / 302.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005735/0.01534, allocations: 364.7 kB / 303.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.58e-05/0.01538, allocations: 91.86 kB / 303.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.01544, allocations: 30.08 kB / 303.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.575e-05/0.01554, allocations: 95.28 kB / 303.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01554, allocations: 0 / 303.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of Templates: time 0.005382/0.02092, allocations: 3.554 MB / 306.9 MB, free: 8.109 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.977881913073361]