Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.001032/0.001032, allocations: 88.2 kB / 20.95 MB, free: 3.598 MB / 18.57 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.001172/0.001172, allocations: 165 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.064/1.064, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1475/0.1475, allocations: 32.37 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.486e-05, allocations: 5.406 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002261/0.002295, allocations: 1.699 MB / 349.4 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.003265, allocations: 0.7687 MB / 350.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.003348, allocations: 0 / 350.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.003726, allocations: 71.64 kB / 350.3 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.003968, allocations: 67.69 kB / 350.4 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.00414, allocations: 75.77 kB / 350.4 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.004309, allocations: 111.6 kB / 350.5 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.004362, allocations: 3.938 kB / 350.5 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.004457, allocations: 63.75 kB / 350.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.004559, allocations: 35.91 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.00458, allocations: 4 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.004652, allocations: 35.97 kB / 350.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.004715, allocations: 19.92 kB / 350.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.004761, allocations: 15.94 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.004945, allocations: 87.66 kB / 350.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004948, allocations: 0 / 350.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.004949, allocations: 0 / 350.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.004956, allocations: 0 / 350.8 MB, free: 6.633 MB / 282.7 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.000485/0.005442, allocations: 432 kB / 351.2 MB, free: 6.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.005486, allocations: 12.03 kB / 351.2 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.005541, allocations: 12.83 kB / 351.2 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.005714, allocations: 144.4 kB / 351.4 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.005736, allocations: 384 / 351.4 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.005747, allocations: 8.312 kB / 351.4 MB, free: 5.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.005886, allocations: 58.94 kB / 351.4 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.005896, allocations: 3.938 kB / 351.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.005906, allocations: 4 kB / 351.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.005916, allocations: 0 / 351.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.521e-05/0.005952, allocations: 7.984 kB / 351.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.006098, allocations: 144.6 kB / 351.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.006205, allocations: 51.03 kB / 351.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.006236, allocations: 15.69 kB / 351.7 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.006252, allocations: 4 kB / 351.7 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.006361, allocations: 69 kB / 351.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.006362, allocations: 0 / 351.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002141/0.006576, allocations: 89.5 kB / 351.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.006611, allocations: 51.41 kB / 351.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.006732, allocations: 228.1 kB / 352.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.006741, allocations: 25.7 kB / 352.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.006781, allocations: 142.9 kB / 352.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.006817, allocations: 19.89 kB / 352.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.006847, allocations: 23.38 kB / 352.3 MB, free: 4.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.006923, allocations: 0.4962 MB / 352.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.006946, allocations: 12 kB / 352.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.006976, allocations: 27.36 kB / 352.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.816e-05/0.007024, allocations: 39.56 kB / 352.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.007027, allocations: 0 / 352.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.174e-05/0.007098, allocations: 69.64 kB / 352.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.007113, allocations: 8 kB / 353 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.007119, allocations: 7.875 kB / 353 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.007138, allocations: 4.031 kB / 353 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.426e-05/0.007213, allocations: 11.98 kB / 353 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.00722, allocations: 4 kB / 353 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.007251, allocations: 0 / 353 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.007259, allocations: 4 kB / 353 MB, free: 4.215 MB / 282.7 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.275e-05/0.007322, allocations: 160.6 kB / 353.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.007335, allocations: 15.89 kB / 353.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.007458, allocations: 89.95 kB / 353.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.007461, allocations: 4 kB / 353.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.007466, allocations: 3.938 kB / 353.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.007471, allocations: 4 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.617e-05/0.007547, allocations: 140.6 kB / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.007548, allocations: 0 / 353.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.007563, allocations: 4 kB / 353.4 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.007564, allocations: 0 / 353.4 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.007574, allocations: 0 / 353.4 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.007576, allocations: 7.938 kB / 353.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007576, allocations: 0 / 353.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.442e-05/0.007661, allocations: 116.3 kB / 353.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.007674, allocations: 7.953 kB / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.007691, allocations: 0 / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.007711, allocations: 20.05 kB / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.007748, allocations: 0 / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.007763, allocations: 8 kB / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.379e-05/0.007817, allocations: 172 kB / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007817, allocations: 0 / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001425/0.007959, allocations: 15.98 kB / 353.7 MB, free: 3.387 MB / 282.7 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.000792/0.008751, allocations: 397.4 kB / 354.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.008869, allocations: 35.67 kB / 354.2 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00887, allocations: 0 / 354.2 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/0.008902, allocations: 23.62 kB / 354.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.009101, allocations: 33.22 kB / 354.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.009443, allocations: 197.4 kB / 354.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.118e-05/0.009474, allocations: 63.34 kB / 354.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.149e-05/0.009506, allocations: 8.484 kB / 354.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.009535, allocations: 16.5 kB / 354.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009535, allocations: 0 / 354.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of Templates: time 0.003442/0.01298, allocations: 1.61 MB / 356.1 MB, free: 1.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.611587221035734]