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.001711/0.001711, allocations: 80.31 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002142/0.002142, allocations: 163.8 kB / 23.96 MB, free: 4.164 MB / 14.72 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.53/1.53, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.2161/0.2161, allocations: 34.29 MB / 295 MB, free: 14.57 MB / 286.1 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.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|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.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 442.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.348e-05/3.533e-05, allocations: 9.172 kB / 442.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003558/0.003593, allocations: 1.946 MB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.005927, allocations: 1.13 MB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.006032, allocations: 0 / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007536/0.006785, allocations: 211.2 kB / 446 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005033/0.007289, allocations: 211.1 kB / 446.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.007718, allocations: 163.5 kB / 446.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.008113, allocations: 275.1 kB / 446.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.008248, allocations: 16.58 kB / 446.7 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.008496, allocations: 147.6 kB / 446.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.008684, allocations: 95.75 kB / 446.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.008723, allocations: 12 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.008906, allocations: 71.83 kB / 447 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.009019, allocations: 55.77 kB / 447.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.477e-05/0.009114, allocations: 47.86 kB / 447.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.009522, allocations: 247.2 kB / 447.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.009527, allocations: 4 kB / 447.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.009528, allocations: 3.938 kB / 447.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.009534, allocations: 0 / 447.4 MB, free: 0.6953 MB / 366.1 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.000944/0.01048, allocations: 494.4 kB / 447.8 MB, free: 180 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.01052, allocations: 12.03 kB / 447.9 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.0106, allocations: 24.75 kB / 447.9 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2133/0.2239, allocations: 226.6 kB / 448.1 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.2239, allocations: 5.812 kB / 448.1 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.2239, allocations: 5.578 kB / 448.1 MB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.2242, allocations: 99.94 kB / 448.2 MB, free: 19.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2243, allocations: 1.469 kB / 448.2 MB, free: 19.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.2243, allocations: 4.125 kB / 448.2 MB, free: 19.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2243, allocations: 4.031 kB / 448.2 MB, free: 19.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.2245, allocations: 46.28 kB / 448.3 MB, free: 19.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.225, allocations: 305.6 kB / 448.6 MB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.2254, allocations: 125.7 kB / 448.7 MB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.2256, allocations: 43.94 kB / 448.7 MB, free: 19.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.2256, allocations: 1.703 kB / 448.7 MB, free: 19.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/0.2259, allocations: 116.2 kB / 448.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.645e-06/0.2259, allocations: 6.391 kB / 448.8 MB, free: 19.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006557/0.2265, allocations: 200.1 kB / 449 MB, free: 19.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.2266, allocations: 82.08 kB / 449.1 MB, free: 18.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/0.2271, allocations: 358.9 kB / 449.5 MB, free: 18.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2271, allocations: 32.97 kB / 449.5 MB, free: 18.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2272, allocations: 138.5 kB / 449.6 MB, free: 18.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.2273, allocations: 35.59 kB / 449.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.2273, allocations: 32.05 kB / 449.7 MB, free: 18.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.2274, allocations: 338.3 kB / 450 MB, free: 18.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.2276, allocations: 37.22 kB / 450.1 MB, free: 18.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.2277, allocations: 94.83 kB / 450.2 MB, free: 18.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.228, allocations: 104.7 kB / 450.3 MB, free: 18.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.228, allocations: 1.062 kB / 450.3 MB, free: 18.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003931/0.2284, allocations: 155.6 kB / 450.4 MB, free: 18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.2284, allocations: 5.281 kB / 450.4 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2284, allocations: 1.344 kB / 450.4 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.2284, allocations: 5.578 kB / 450.4 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.2286, allocations: 25.22 kB / 450.5 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.2286, allocations: 5.719 kB / 450.5 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2287, allocations: 15.25 kB / 450.5 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.2288, allocations: 4.453 kB / 450.5 MB, free: 17.99 MB / 366.1 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.0001492/0.2289, allocations: 145 kB / 450.6 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.229, allocations: 27.75 kB / 450.6 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/0.2295, allocations: 178.1 kB / 450.8 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.2295, allocations: 6.578 kB / 450.8 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2295, allocations: 4.031 kB / 450.8 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2295, allocations: 1.953 kB / 450.8 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.2298, allocations: 180.3 kB / 451 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2298, allocations: 2.062 kB / 451 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/0.2298, allocations: 21.14 kB / 451 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2298, allocations: 3.484 kB / 451 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.2299, allocations: 3.578 kB / 451 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2299, allocations: 1.188 kB / 451 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2299, allocations: 6.5 kB / 451 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.2303, allocations: 199.3 kB / 451.2 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.2304, allocations: 27.62 kB / 451.3 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.2304, allocations: 3.344 kB / 451.3 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.2305, allocations: 6.062 kB / 451.3 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.2306, allocations: 18.03 kB / 451.3 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.2306, allocations: 13.92 kB / 451.3 MB, free: 17.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003541/0.231, allocations: 264.9 kB / 451.6 MB, free: 17.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.231, allocations: 0 / 451.6 MB, free: 17.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.2314, allocations: 38.86 kB / 451.6 MB, free: 17.32 MB / 366.1 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.002132/0.2335, allocations: 457.2 kB / 452.1 MB, free: 17.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.2339, allocations: 94.67 kB / 452.1 MB, free: 17.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2339, allocations: 0 / 452.1 MB, free: 17.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.2341, allocations: 54.66 kB / 452.2 MB, free: 17.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.2347, allocations: 73.75 kB / 452.3 MB, free: 17.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008877/0.2356, allocations: 411.5 kB / 452.7 MB, free: 16.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.2357, allocations: 138.5 kB / 452.8 MB, free: 16.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.2359, allocations: 36.33 kB / 452.8 MB, free: 16.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/0.236, allocations: 25.5 kB / 452.9 MB, free: 16.73 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.236, allocations: 0 / 452.9 MB, free: 16.73 MB / 366.1 MB Notification: Performance of Templates: time 0.01121/0.2472, allocations: 3.196 MB / 456.1 MB, free: 16.32 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.028391592204571]