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.001793/0.001793, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001771/0.001771, allocations: 168.5 kB / 24.5 MB, free: 3.453 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.611/1.611, allocations: 177.2 MB / 204.9 MB, free: 9.035 MB / 190.1 MB " [Timeout remaining time 178] 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.2126/0.2126, allocations: 32.81 MB / 294.1 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 67.89 kB / 440.6 MB, free: 9.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3801, allocations: 65.45 MB / 0.4942 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002721/0.3829, allocations: 1.928 MB / 0.4961 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3844, allocations: 1.137 MB / 0.4972 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.897e-05/0.3845, allocations: 3.125 kB / 0.4972 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.3851, allocations: 206.4 kB / 0.4974 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.3855, allocations: 205.1 kB / 0.4976 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.3858, allocations: 162.9 kB / 0.4977 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.3861, allocations: 270 kB / 0.498 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3862, allocations: 22.62 kB / 0.498 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.3863, allocations: 110.8 kB / 0.4981 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.3865, allocations: 115.1 kB / 0.4982 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.3865, allocations: 13.84 kB / 0.4983 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.3866, allocations: 63.59 kB / 0.4983 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.3867, allocations: 59.33 kB / 0.4984 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.636e-05/0.3868, allocations: 65.22 kB / 0.4984 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.387, allocations: 249.5 kB / 0.4987 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.387, allocations: 0 / 0.4987 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.387, allocations: 3.938 kB / 0.4987 GB, free: 28.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.387, allocations: 0 / 0.4987 GB, free: 28.91 MB / 446.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.0006642/0.3877, allocations: 0.4919 MB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.3877, allocations: 9.188 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.3878, allocations: 25.67 kB / 0.4992 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3881, allocations: 233.1 kB / 0.4994 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3881, allocations: 7.5 kB / 0.4994 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.3881, allocations: 11.19 kB / 0.4994 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.3883, allocations: 105.2 kB / 0.4995 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3883, allocations: 3.938 kB / 0.4995 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3883, allocations: 0 / 0.4995 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.3883, allocations: 3.156 kB / 0.4995 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.3884, allocations: 41.27 kB / 0.4996 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.3888, allocations: 315.9 kB / 0.4999 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.3891, allocations: 122.6 kB / 0.5 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/0.3892, allocations: 41.2 kB / 0.5 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.3892, allocations: 6.656 kB / 0.5 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.3894, allocations: 113.9 kB / 0.5001 GB, free: 27.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.3894, allocations: 0 / 0.5001 GB, free: 27.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003935/0.3898, allocations: 192.6 kB / 0.5003 GB, free: 27.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.3898, allocations: 80.2 kB / 0.5004 GB, free: 27.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.3901, allocations: 368.5 kB / 0.5008 GB, free: 27.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3901, allocations: 29.7 kB / 0.5008 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.3902, allocations: 135.9 kB / 0.5009 GB, free: 27.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.3902, allocations: 38.27 kB / 0.501 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.3902, allocations: 34.08 kB / 0.501 GB, free: 27.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.3903, allocations: 340 kB / 0.5013 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.322e-05/0.3904, allocations: 33.86 kB / 0.5013 GB, free: 26.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.706e-05/0.3905, allocations: 98.28 kB / 0.5014 GB, free: 26.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3906, allocations: 102.8 kB / 0.5015 GB, free: 26.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3906, allocations: 0 / 0.5015 GB, free: 26.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002383/0.3909, allocations: 155.1 kB / 0.5017 GB, free: 26.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3909, allocations: 3.219 kB / 0.5017 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.3909, allocations: 7.188 kB / 0.5017 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3909, allocations: 0 / 0.5017 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.391, allocations: 22.33 kB / 0.5017 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.391, allocations: 3.562 kB / 0.5017 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.1e-05/0.3911, allocations: 14.52 kB / 0.5017 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3911, allocations: 7.562 kB / 0.5017 GB, free: 26.57 MB / 446.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 9.76e-05/0.3912, allocations: 171.5 kB / 0.5019 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.3912, allocations: 28.56 kB / 0.5019 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.3916, allocations: 169.4 kB / 0.5021 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3916, allocations: 2.969 kB / 0.5021 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3916, allocations: 0 / 0.5021 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3916, allocations: 3.219 kB / 0.5021 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.3917, allocations: 190.5 kB / 0.5023 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3917, allocations: 7.031 kB / 0.5023 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.3918, allocations: 10.56 kB / 0.5023 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3918, allocations: 3.281 kB / 0.5023 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3918, allocations: 4 kB / 0.5023 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3918, allocations: 3.062 kB / 0.5023 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3918, allocations: 3.234 kB / 0.5023 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.392, allocations: 200.8 kB / 0.5025 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.3921, allocations: 29.06 kB / 0.5025 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.3921, allocations: 3.344 kB / 0.5025 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.3922, allocations: 3.375 kB / 0.5025 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.3922, allocations: 22.19 kB / 0.5026 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3923, allocations: 6.469 kB / 0.5026 GB, free: 26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.3925, allocations: 264.4 kB / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3925, allocations: 0 / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.3927, allocations: 40.44 kB / 0.5029 GB, free: 25.86 MB / 446.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.001596/0.3943, allocations: 448.9 kB / 0.5033 GB, free: 25.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3946, allocations: 107.1 kB / 0.5034 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3946, allocations: 4.125 kB / 0.5034 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3947, allocations: 51.72 kB / 0.5034 GB, free: 25.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.3951, allocations: 83.33 kB / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.3956, allocations: 398.6 kB / 0.5039 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.913e-05/0.3957, allocations: 144.1 kB / 0.504 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.051e-05/0.3958, allocations: 36.8 kB / 0.5041 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.3958, allocations: 25.44 kB / 0.5041 GB, free: 25.22 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3958, allocations: 0 / 0.5041 GB, free: 25.22 MB / 446.1 MB Notification: Performance of Templates: time 0.006171/0.402, allocations: 3.206 MB / 0.5072 GB, free: 24.78 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/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: 5.2076598959974945]