Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001337/0.001337, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.001359/0.001359, allocations: 158.6 kB / 24.5 MB, free: 3.715 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.494/1.494, allocations: 177.2 MB / 204.9 MB, free: 8.984 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.2079/0.2079, allocations: 32.8 MB / 294.1 MB, free: 20 kB / 270.1 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [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.002135/0.002135, allocations: 71.89 kB / 440.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 65.46 MB / 0.4942 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004463/0.3575, allocations: 1.655 MB / 0.4958 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.3599, allocations: 0.9588 MB / 0.4968 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.36, allocations: 0 / 0.4968 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.3604, allocations: 51.7 kB / 0.4968 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004164/0.3608, allocations: 103.5 kB / 0.4969 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.361, allocations: 75.72 kB / 0.497 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.3613, allocations: 95.7 kB / 0.4971 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.3613, allocations: 8.219 kB / 0.4971 GB, free: 2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3614, allocations: 43.78 kB / 0.4971 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3616, allocations: 31.8 kB / 0.4972 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3616, allocations: 0 / 0.4972 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.3617, allocations: 39.98 kB / 0.4972 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.3618, allocations: 23.92 kB / 0.4972 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.015e-05/0.3619, allocations: 43.66 kB / 0.4973 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.3621, allocations: 121.8 kB / 0.4974 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3622, allocations: 0 / 0.4974 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3622, allocations: 0 / 0.4974 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3622, allocations: 0 / 0.4974 GB, free: 1.707 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007118/0.3629, allocations: 361.4 kB / 0.4977 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3629, allocations: 12.03 kB / 0.4977 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.363, allocations: 8.891 kB / 0.4978 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.3633, allocations: 167.2 kB / 0.4979 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3634, allocations: 4.375 kB / 0.4979 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.3634, allocations: 12.06 kB / 0.4979 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3635, allocations: 53.59 kB / 0.498 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3636, allocations: 3.938 kB / 0.498 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3636, allocations: 3.984 kB / 0.498 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3636, allocations: 4 kB / 0.498 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.604e-05/0.3637, allocations: 12 kB / 0.498 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.3639, allocations: 141.3 kB / 0.4981 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.3641, allocations: 50.61 kB / 0.4982 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.822e-05/0.3642, allocations: 28.78 kB / 0.4982 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3642, allocations: 0 / 0.4982 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.3644, allocations: 67.33 kB / 0.4983 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.3644, allocations: 4 kB / 0.4983 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003859/0.3648, allocations: 101.6 kB / 0.4984 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.3649, allocations: 51.41 kB / 0.4984 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.3653, allocations: 287.8 kB / 0.4987 GB, free: 224 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.3653, allocations: 25.7 kB / 0.4987 GB, free: 192 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3654, allocations: 112.1 kB / 0.4988 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.3655, allocations: 19.91 kB / 0.4989 GB, free: 56 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.3655, allocations: 17.72 kB / 0.4989 GB, free: 32 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.3657, allocations: 330.9 kB / 0.4992 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.3658, allocations: 12 kB / 0.4992 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.351e-05/0.3659, allocations: 29.7 kB / 0.4992 GB, free: 15.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.366, allocations: 45.7 kB / 0.4993 GB, free: 15.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3661, allocations: 0 / 0.4993 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002441/0.3663, allocations: 97.45 kB / 0.4994 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3663, allocations: 4.031 kB / 0.4994 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3663, allocations: 8 kB / 0.4994 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3663, allocations: 0 / 0.4994 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3664, allocations: 8 kB / 0.4994 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3664, allocations: 0 / 0.4994 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.3665, allocations: 11.89 kB / 0.4994 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3665, allocations: 7.984 kB / 0.4994 GB, free: 15.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001662/0.3667, allocations: 133.8 kB / 0.4995 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.3667, allocations: 19.84 kB / 0.4995 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.367, allocations: 98.83 kB / 0.4996 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.367, allocations: 4 kB / 0.4996 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.367, allocations: 3.984 kB / 0.4996 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.367, allocations: 0 / 0.4996 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.3672, allocations: 145.1 kB / 0.4998 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3672, allocations: 384 / 0.4998 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.3673, allocations: 7.984 kB / 0.4998 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3673, allocations: 3.938 kB / 0.4998 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3673, allocations: 11.88 kB / 0.4998 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3673, allocations: 0 / 0.4998 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3673, allocations: 4 kB / 0.4998 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.3676, allocations: 113 kB / 0.4999 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.3676, allocations: 27.84 kB / 0.4999 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3676, allocations: 0 / 0.4999 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.879e-05/0.3677, allocations: 3.984 kB / 0.5 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.3677, allocations: 4 kB / 0.5 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3678, allocations: 0 / 0.5 GB, free: 14.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000274/0.368, allocations: 208.6 kB / 0.5002 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.368, allocations: 0 / 0.5002 GB, free: 14.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.3684, allocations: 16 kB / 0.5002 GB, free: 14.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002134/0.3705, allocations: 450.8 kB / 0.5006 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.3707, allocations: 43.91 kB / 0.5006 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3707, allocations: 3.938 kB / 0.5006 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/0.3708, allocations: 20 kB / 0.5007 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3712, allocations: 35.84 kB / 0.5007 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.372, allocations: 278.4 kB / 0.501 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.3721, allocations: 101.7 kB / 0.5011 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.379e-05/0.3722, allocations: 20.53 kB / 0.5011 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.3722, allocations: 16.5 kB / 0.5011 GB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3722, allocations: 0 / 0.5011 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Templates: time 0.006727/0.379, allocations: 1.621 MB / 0.5027 GB, free: 12.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.023441173019819]