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.001539/0.001539, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001782/0.001782, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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 1.563/1.563, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3448/0.3448, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.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.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.784e-06/1.784e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.95e-05, allocations: 2.312 kB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003935/0.003965, allocations: 1.935 MB / 379.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.006254, allocations: 1.134 MB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.997e-05/0.006344, allocations: 7.938 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000744/0.007088, allocations: 203.3 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000536/0.007624, allocations: 218.9 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.00806, allocations: 163.5 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.008437, allocations: 275.1 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.008549, allocations: 12.59 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.008792, allocations: 147.5 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.008972, allocations: 103.8 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.009, allocations: 8 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.00915, allocations: 59.95 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.425e-05/0.009245, allocations: 51.78 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.565e-05/0.00934, allocations: 55.78 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.009748, allocations: 251.1 kB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.009754, allocations: 4 kB / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.009755, allocations: 0 / 382 MB, free: 14.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.009761, allocations: 0 / 382 MB, free: 14.25 MB / 362.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.0009102/0.01067, allocations: 494.4 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.01071, allocations: 12.03 kB / 382.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.0108, allocations: 32.75 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.0112, allocations: 225.9 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.01122, allocations: 8.312 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.01123, allocations: 8.375 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.0115, allocations: 103.8 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.01151, allocations: 3.938 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.01152, allocations: 4 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.01153, allocations: 4 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.01168, allocations: 39.97 kB / 382.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.01222, allocations: 313.2 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.01257, allocations: 121.2 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.01269, allocations: 45.64 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.01271, allocations: 4 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.01297, allocations: 121 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.01297, allocations: 0 / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000551/0.01353, allocations: 189.4 kB / 383.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.01359, allocations: 81.11 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.01406, allocations: 360.5 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.01409, allocations: 29.7 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.01423, allocations: 144.1 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.01427, allocations: 27.78 kB / 384.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.01434, allocations: 33.72 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004273/0.01477, allocations: 334.8 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.01488, allocations: 44.34 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.01505, allocations: 105.3 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.01529, allocations: 99.36 kB / 384.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.01529, allocations: 7.969 kB / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003491/0.01564, allocations: 157.4 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.01566, allocations: 8 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01566, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.01568, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.01581, allocations: 27.92 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01581, allocations: 0 / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.01592, allocations: 19.94 kB / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.01593, allocations: 8.062 kB / 385.1 MB, free: 10.86 MB / 362.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.0001769/0.01611, allocations: 153.7 kB / 385.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.01617, allocations: 31.86 kB / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004391/0.01661, allocations: 183.5 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01661, allocations: 0 / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01661, allocations: 192 / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.01662, allocations: 4 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.01687, allocations: 193.2 kB / 385.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.01688, allocations: 3.938 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.01693, allocations: 15.92 kB / 385.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01693, allocations: 4 kB / 385.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.01695, allocations: 4 kB / 385.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01695, allocations: 0 / 385.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01695, allocations: 0 / 385.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.01737, allocations: 201.8 kB / 385.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.01742, allocations: 27.75 kB / 385.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.01746, allocations: 7.984 kB / 385.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.01754, allocations: 4 kB / 385.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.0176, allocations: 11.98 kB / 385.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.01762, allocations: 15.98 kB / 385.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003324/0.01795, allocations: 267 kB / 386.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01795, allocations: 0 / 386.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002908/0.01825, allocations: 39.94 kB / 386.2 MB, free: 9.645 MB / 362.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.002002/0.02025, allocations: 450.7 kB / 386.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.02055, allocations: 95.89 kB / 386.8 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.02055, allocations: 0 / 386.8 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.0207, allocations: 56.03 kB / 386.8 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.02113, allocations: 68.47 kB / 386.9 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.02189, allocations: 414 kB / 387.3 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.02207, allocations: 140.8 kB / 387.4 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.02217, allocations: 42.06 kB / 387.5 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.02223, allocations: 24.48 kB / 387.5 MB, free: 8.512 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.02224, allocations: 0 / 387.5 MB, free: 8.512 MB / 362.7 MB Notification: Performance of Templates: time 0.007841/0.03008, allocations: 3.228 MB / 390.7 MB, free: 5.328 MB / 362.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=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: 4.8906347550218925]