Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001602/0.001602, allocations: 71.75 kB / 21.24 MB, free: 400 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.001938/0.001938, allocations: 167.9 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.476/1.476, allocations: 177.2 MB / 204.9 MB, free: 9.059 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.2111/0.2111, allocations: 34.27 MB / 295.5 MB, free: 14.6 MB / 286.1 MB " [Timeout remaining time 179] 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 75.88 kB / 443.2 MB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3668, allocations: 66 MB / 0.4973 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002523/0.3693, allocations: 1.682 MB / 0.4989 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3706, allocations: 0.9497 MB / 0.4999 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.3706, allocations: 3.938 kB / 0.4999 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.3709, allocations: 58.7 kB / 0.4999 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.3712, allocations: 111.2 kB / 0.5 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.3713, allocations: 72.08 kB / 0.5001 GB, free: 28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.3715, allocations: 106.7 kB / 0.5002 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.3715, allocations: 7.047 kB / 0.5002 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.3716, allocations: 42.25 kB / 0.5002 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.3717, allocations: 52.7 kB / 0.5003 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3717, allocations: 7.062 kB / 0.5003 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.3718, allocations: 33.31 kB / 0.5003 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.3718, allocations: 25.86 kB / 0.5004 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.3719, allocations: 25.41 kB / 0.5004 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.372, allocations: 103.3 kB / 0.5005 GB, free: 27.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.372, allocations: 7.25 kB / 0.5005 GB, free: 27.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.372, allocations: 0 / 0.5005 GB, free: 27.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.372, allocations: 0 / 0.5005 GB, free: 27.83 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000409/0.3724, allocations: 331.9 kB / 0.5008 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.3725, allocations: 9.844 kB / 0.5008 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.3725, allocations: 16.06 kB / 0.5008 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.3727, allocations: 152.1 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.3727, allocations: 384 / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3727, allocations: 15.3 kB / 0.501 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.3728, allocations: 45.94 kB / 0.501 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3728, allocations: 0 / 0.501 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3729, allocations: 0 / 0.501 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3729, allocations: 3.25 kB / 0.501 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.163e-05/0.3729, allocations: 13.81 kB / 0.501 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.373, allocations: 140 kB / 0.5012 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.3732, allocations: 55.92 kB / 0.5012 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.3732, allocations: 25.56 kB / 0.5013 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.3733, allocations: 0 / 0.5013 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.3734, allocations: 70.19 kB / 0.5013 GB, free: 27.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.3734, allocations: 0 / 0.5013 GB, free: 27.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002571/0.3736, allocations: 98.19 kB / 0.5014 GB, free: 27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.3737, allocations: 54.34 kB / 0.5015 GB, free: 26.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3738, allocations: 200.9 kB / 0.5017 GB, free: 26.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.3738, allocations: 29.7 kB / 0.5017 GB, free: 26.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.3738, allocations: 106.1 kB / 0.5018 GB, free: 26.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.3739, allocations: 11.91 kB / 0.5018 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.3739, allocations: 23.58 kB / 0.5018 GB, free: 26.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.374, allocations: 321.4 kB / 0.5021 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.784e-05/0.374, allocations: 16.39 kB / 0.5021 GB, free: 26.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.374, allocations: 23.41 kB / 0.5022 GB, free: 26.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.401e-05/0.3741, allocations: 51.55 kB / 0.5022 GB, free: 26.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3741, allocations: 0 / 0.5022 GB, free: 26.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001305/0.3743, allocations: 93.27 kB / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3743, allocations: 6.469 kB / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3743, allocations: 0 / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3743, allocations: 0 / 0.5023 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.961e-05/0.3744, allocations: 20.72 kB / 0.5023 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3744, allocations: 160 / 0.5023 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.3744, allocations: 7.156 kB / 0.5023 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3744, allocations: 3.156 kB / 0.5023 GB, free: 26.2 MB / 446.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 6.201e-05/0.3745, allocations: 123.2 kB / 0.5025 GB, free: 26.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.3745, allocations: 14.92 kB / 0.5025 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.3747, allocations: 100.2 kB / 0.5026 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3747, allocations: 3.25 kB / 0.5026 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3747, allocations: 0 / 0.5026 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3747, allocations: 3.469 kB / 0.5026 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.675e-05/0.3748, allocations: 131.7 kB / 0.5027 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3748, allocations: 3.938 kB / 0.5027 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.3748, allocations: 6.375 kB / 0.5027 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3748, allocations: 3.938 kB / 0.5027 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3748, allocations: 7.453 kB / 0.5027 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3748, allocations: 3.094 kB / 0.5027 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3748, allocations: 7.938 kB / 0.5027 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.3749, allocations: 109.8 kB / 0.5028 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.375, allocations: 15.09 kB / 0.5028 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.375, allocations: 7.516 kB / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/0.375, allocations: 3.156 kB / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.3751, allocations: 7.312 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3751, allocations: 3.25 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.803e-05/0.3752, allocations: 154.9 kB / 0.503 GB, free: 25.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3752, allocations: 0 / 0.503 GB, free: 25.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.3754, allocations: 20.03 kB / 0.503 GB, free: 25.64 MB / 446.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.001507/0.3769, allocations: 446.5 kB / 0.5035 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.377, allocations: 44.02 kB / 0.5035 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.377, allocations: 0 / 0.5035 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.916e-05/0.3771, allocations: 26.17 kB / 0.5035 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.3773, allocations: 23.52 kB / 0.5036 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.3777, allocations: 217.7 kB / 0.5038 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.806e-05/0.3777, allocations: 90.92 kB / 0.5038 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.106e-05/0.3778, allocations: 13.72 kB / 0.5039 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.3778, allocations: 19.09 kB / 0.5039 GB, free: 25.15 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3778, allocations: 0 / 0.5039 GB, free: 25.15 MB / 446.1 MB Notification: Performance of Templates: time 0.004099/0.3819, allocations: 1.617 MB / 0.5055 GB, free: 24.93 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.9990000310353935]