Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001344/0.001344, allocations: 69.72 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.001461/0.001461, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.473/1.473, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.2128/0.2128, allocations: 32.8 MB / 294.1 MB, free: 16 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [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.002287/0.002287, allocations: 59.91 kB / 440.6 MB, free: 9.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3714, allocations: 65.44 MB / 0.4942 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003086/0.3744, allocations: 1.794 MB / 0.496 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.3769, allocations: 1.739 MB / 0.4976 GB, free: 29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.377, allocations: 4 kB / 0.4977 GB, free: 29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.3773, allocations: 61.05 kB / 0.4977 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.3778, allocations: 132.6 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.378, allocations: 111.2 kB / 0.4979 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.3782, allocations: 206.6 kB / 0.4981 GB, free: 28.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.3783, allocations: 11.72 kB / 0.4982 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.3784, allocations: 87.36 kB / 0.4982 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.3786, allocations: 72.77 kB / 0.4983 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.3786, allocations: 9.469 kB / 0.4983 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.3788, allocations: 113.7 kB / 0.4984 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.844e-05/0.3789, allocations: 39.8 kB / 0.4985 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.379, allocations: 51.25 kB / 0.4985 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.3793, allocations: 228.7 kB / 0.4987 GB, free: 28.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3793, allocations: 0 / 0.4987 GB, free: 28.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3793, allocations: 0 / 0.4987 GB, free: 28.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3793, allocations: 0 / 0.4987 GB, free: 28.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006762/0.3799, allocations: 431.5 kB / 0.4991 GB, free: 28.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.38, allocations: 9.938 kB / 0.4991 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.38, allocations: 15.12 kB / 0.4992 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.3804, allocations: 199.7 kB / 0.4994 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.3804, allocations: 4.375 kB / 0.4994 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.3804, allocations: 7.156 kB / 0.4994 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.3807, allocations: 154.2 kB / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3807, allocations: 0 / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3807, allocations: 2.906 kB / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3807, allocations: 0 / 0.4995 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.3808, allocations: 38.03 kB / 0.4995 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.381, allocations: 162.6 kB / 0.4997 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.3813, allocations: 111.8 kB / 0.4998 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/0.3814, allocations: 35.89 kB / 0.4998 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3814, allocations: 7.25 kB / 0.4999 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.3816, allocations: 111.6 kB / 0.5 GB, free: 27.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3816, allocations: 0 / 0.5 GB, free: 27.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004371/0.382, allocations: 180.3 kB / 0.5001 GB, free: 27.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3821, allocations: 139.7 kB / 0.5003 GB, free: 27.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3823, allocations: 248.2 kB / 0.5005 GB, free: 27.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.3823, allocations: 25.7 kB / 0.5005 GB, free: 27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.3823, allocations: 117.2 kB / 0.5006 GB, free: 26.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.3824, allocations: 26.47 kB / 0.5007 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.3824, allocations: 30.67 kB / 0.5007 GB, free: 26.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.3825, allocations: 332 kB / 0.501 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/0.3826, allocations: 31.17 kB / 0.501 GB, free: 26.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3827, allocations: 133.4 kB / 0.5012 GB, free: 26.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3828, allocations: 96.69 kB / 0.5013 GB, free: 26.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3828, allocations: 0 / 0.5013 GB, free: 26.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003035/0.3831, allocations: 139.1 kB / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3832, allocations: 6.094 kB / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3832, allocations: 0 / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3832, allocations: 3.312 kB / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3833, allocations: 23.92 kB / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3833, allocations: 6.531 kB / 0.5014 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3834, allocations: 19.64 kB / 0.5014 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3834, allocations: 6.594 kB / 0.5015 GB, free: 26.23 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001136/0.3835, allocations: 131.9 kB / 0.5016 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.3836, allocations: 21.44 kB / 0.5016 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.3839, allocations: 167.8 kB / 0.5018 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3839, allocations: 0 / 0.5018 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3839, allocations: 7 kB / 0.5018 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3839, allocations: 0 / 0.5018 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.384, allocations: 167.5 kB / 0.5019 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.384, allocations: 7.25 kB / 0.5019 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.3841, allocations: 6.344 kB / 0.5019 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3841, allocations: 6.906 kB / 0.5019 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3841, allocations: 3.281 kB / 0.5019 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3841, allocations: 3.469 kB / 0.502 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3841, allocations: 0 / 0.502 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.3844, allocations: 188.1 kB / 0.5021 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.3844, allocations: 25.61 kB / 0.5022 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.3845, allocations: 4 kB / 0.5022 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.3846, allocations: 14.48 kB / 0.5022 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.3846, allocations: 14.05 kB / 0.5022 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3846, allocations: 3.219 kB / 0.5022 GB, free: 25.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.3848, allocations: 181.9 kB / 0.5024 GB, free: 25.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3848, allocations: 0 / 0.5024 GB, free: 25.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.3851, allocations: 60.42 kB / 0.5024 GB, free: 25.58 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001947/0.387, allocations: 0.5293 MB / 0.5029 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.3873, allocations: 88.44 kB / 0.503 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3873, allocations: 0 / 0.503 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3874, allocations: 49.67 kB / 0.5031 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3878, allocations: 54.05 kB / 0.5031 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.3884, allocations: 299.1 kB / 0.5034 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.507e-05/0.3885, allocations: 104.8 kB / 0.5035 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.563e-05/0.3886, allocations: 36.25 kB / 0.5035 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.3886, allocations: 28.31 kB / 0.5036 GB, free: 24.99 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3886, allocations: 0 / 0.5036 GB, free: 24.99 MB / 446.1 MB Notification: Performance of Templates: time 0.006679/0.3953, allocations: 3.415 MB / 0.5069 GB, free: 24.53 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.096183176035993]