Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001296/0.001296, 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.001457/0.001457, allocations: 169.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.476/1.476, 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.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.213/0.213, allocations: 34.27 MB / 295.5 MB, free: 14.58 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.89 kB / 443.2 MB, free: 6.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 66.01 MB / 0.4973 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003032/0.3516, allocations: 1.911 MB / 0.4991 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3535, allocations: 1.009 MB / 0.5001 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.3536, allocations: 0 / 0.5001 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.354, allocations: 48.06 kB / 0.5002 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.3543, allocations: 106.5 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.3546, allocations: 95.3 kB / 0.5004 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.3548, allocations: 146.4 kB / 0.5005 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3549, allocations: 15.61 kB / 0.5005 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.355, allocations: 56.45 kB / 0.5006 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.3552, allocations: 61.89 kB / 0.5006 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.3552, allocations: 6.562 kB / 0.5006 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3553, allocations: 47.73 kB / 0.5007 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.3554, allocations: 33.11 kB / 0.5007 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.002e-05/0.3554, allocations: 40.09 kB / 0.5008 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.3557, allocations: 159.7 kB / 0.5009 GB, free: 27.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3557, allocations: 0 / 0.5009 GB, free: 27.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3557, allocations: 0 / 0.5009 GB, free: 27.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.3557, allocations: 0 / 0.5009 GB, free: 27.52 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006939/0.3564, allocations: 415.1 kB / 0.5013 GB, free: 27.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3565, allocations: 9.438 kB / 0.5013 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.3565, allocations: 14.88 kB / 0.5013 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.3568, allocations: 171.8 kB / 0.5015 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3569, allocations: 11.16 kB / 0.5015 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.3569, allocations: 11.31 kB / 0.5015 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.3571, allocations: 130.4 kB / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3571, allocations: 0 / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3571, allocations: 6.375 kB / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3571, allocations: 0 / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3573, allocations: 53.94 kB / 0.5017 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.3577, allocations: 450.7 kB / 0.5021 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.358, allocations: 89.11 kB / 0.5022 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.3581, allocations: 32.31 kB / 0.5022 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.3581, allocations: 3.094 kB / 0.5022 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.3583, allocations: 113.2 kB / 0.5023 GB, free: 26.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3583, allocations: 0 / 0.5023 GB, free: 26.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003575/0.3586, allocations: 145.6 kB / 0.5025 GB, free: 26.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.3587, allocations: 62.53 kB / 0.5025 GB, free: 26.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3588, allocations: 213.3 kB / 0.5028 GB, free: 26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3589, allocations: 32.98 kB / 0.5028 GB, free: 25.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.3589, allocations: 109.7 kB / 0.5029 GB, free: 25.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.3589, allocations: 38.45 kB / 0.5029 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.359, allocations: 30.62 kB / 0.503 GB, free: 25.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.3591, allocations: 328.4 kB / 0.5033 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.3591, allocations: 30.98 kB / 0.5033 GB, free: 25.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.563e-05/0.3592, allocations: 65.06 kB / 0.5034 GB, free: 25.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.3594, allocations: 101.7 kB / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3594, allocations: 0 / 0.5035 GB, free: 25.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002415/0.3596, allocations: 142.9 kB / 0.5036 GB, free: 25.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3597, allocations: 8.281 kB / 0.5036 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3597, allocations: 4.125 kB / 0.5036 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3597, allocations: 6.141 kB / 0.5036 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3598, allocations: 21.78 kB / 0.5036 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.3598, allocations: 5.438 kB / 0.5036 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.3599, allocations: 13.23 kB / 0.5036 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3599, allocations: 6.031 kB / 0.5037 GB, free: 25.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 9.139e-05/0.36, allocations: 134.5 kB / 0.5038 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.36, allocations: 14.47 kB / 0.5038 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.3603, allocations: 134.3 kB / 0.5039 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3603, allocations: 4 kB / 0.5039 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3603, allocations: 3.938 kB / 0.5039 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3603, allocations: 3.375 kB / 0.5039 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3604, allocations: 149.9 kB / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3604, allocations: 0 / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.782e-05/0.3605, allocations: 16.72 kB / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3605, allocations: 3.469 kB / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3605, allocations: 0 / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3605, allocations: 0 / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3605, allocations: 3.062 kB / 0.5041 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.3609, allocations: 197.4 kB / 0.5043 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.3609, allocations: 13.78 kB / 0.5043 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3609, allocations: 11.19 kB / 0.5043 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.361, allocations: 2.906 kB / 0.5043 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.361, allocations: 13.39 kB / 0.5043 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.361, allocations: 6.812 kB / 0.5043 GB, free: 24.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.708e-05/0.3611, allocations: 148.9 kB / 0.5045 GB, free: 24.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3611, allocations: 0 / 0.5045 GB, free: 24.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.3614, allocations: 31.56 kB / 0.5045 GB, free: 24.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001523/0.3629, allocations: 442.3 kB / 0.5049 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.3631, allocations: 79.7 kB / 0.505 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3631, allocations: 0 / 0.505 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/0.3632, allocations: 39.73 kB / 0.505 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3635, allocations: 41.34 kB / 0.5051 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.364, allocations: 282.6 kB / 0.5054 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.063e-05/0.3641, allocations: 107.1 kB / 0.5055 GB, free: 24.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.3641, allocations: 16.67 kB / 0.5055 GB, free: 24.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.3642, allocations: 17.28 kB / 0.5055 GB, free: 24.12 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3642, allocations: 7.938 kB / 0.5055 GB, free: 24.11 MB / 446.1 MB Notification: Performance of Templates: time 0.004949/0.3691, allocations: 2.029 MB / 0.5075 GB, free: 23.85 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.042644289904274]