Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.001144/0.001144, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001252/0.001252, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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 0.8943/0.8943, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1328/0.1328, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.753e-05, allocations: 6.25 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.005142/0.005159, allocations: 1.748 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.006147, allocations: 0.7959 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.641e-05/0.006213, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.006502, allocations: 55.75 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.006701, allocations: 63.69 kB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.006886, allocations: 83.69 kB / 350.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.007017, allocations: 95.7 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.242e-05/0.0071, allocations: 4.234 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.007176, allocations: 59.75 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.007239, allocations: 27.92 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.007256, allocations: 4 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.007331, allocations: 47.91 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.007378, allocations: 31.86 kB / 350.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.007416, allocations: 15.94 kB / 350.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003185/0.0106, allocations: 115.5 kB / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.0106, allocations: 0 / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.0106, allocations: 0 / 350.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.01061, allocations: 0 / 350.9 MB, free: 6.219 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003791/0.01099, allocations: 471.7 kB / 351.3 MB, free: 5.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.01102, allocations: 8.031 kB / 351.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.01107, allocations: 24.84 kB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.01121, allocations: 152.4 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.01122, allocations: 384 / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.01125, allocations: 4.375 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.01136, allocations: 66.86 kB / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.01137, allocations: 3.938 kB / 351.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.01138, allocations: 4 kB / 351.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.01138, allocations: 0 / 351.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.01142, allocations: 12 kB / 351.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.01167, allocations: 303.8 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.46e-05/0.01177, allocations: 55.11 kB / 352 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.0118, allocations: 23.62 kB / 352 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.01181, allocations: 0 / 352 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.237e-05/0.01189, allocations: 65.05 kB / 352 MB, free: 4.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.01189, allocations: 0 / 352 MB, free: 4.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003657/0.01226, allocations: 161.3 kB / 352.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/0.01228, allocations: 55.41 kB / 352.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.01241, allocations: 277.3 kB / 352.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.01242, allocations: 33.64 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.01247, allocations: 162.9 kB / 352.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.01249, allocations: 23.8 kB / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.01252, allocations: 31.36 kB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.01257, allocations: 0.4962 MB / 353.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.0126, allocations: 16 kB / 353.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.01263, allocations: 31.69 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.01269, allocations: 59.3 kB / 353.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01269, allocations: 0 / 353.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.0128, allocations: 101.5 kB / 353.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.01281, allocations: 4 kB / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01282, allocations: 0 / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.01283, allocations: 4 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.01291, allocations: 15.98 kB / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.01291, allocations: 0 / 353.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.01295, allocations: 8 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.01295, allocations: 0 / 353.5 MB, free: 3.363 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 (10): * Single equations (assignments): 10 * 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 4.808e-05/0.013, allocations: 168.5 kB / 353.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.01302, allocations: 19.89 kB / 353.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.01316, allocations: 111.2 kB / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01317, allocations: 4 kB / 353.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.01317, allocations: 3.984 kB / 353.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01317, allocations: 3.984 kB / 353.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.01427, allocations: 397 kB / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01428, allocations: 0 / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.01431, allocations: 19.98 kB / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01431, allocations: 0 / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.01432, allocations: 0 / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.01432, allocations: 4 kB / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01432, allocations: 4.031 kB / 354.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.01445, allocations: 267.4 kB / 354.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.01447, allocations: 7.953 kB / 354.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01449, allocations: 8 kB / 354.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.01455, allocations: 3.984 kB / 354.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.01458, allocations: 4 kB / 354.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.01459, allocations: 7.984 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.989e-05/0.01467, allocations: 196.3 kB / 354.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01467, allocations: 0 / 354.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.01491, allocations: 31.88 kB / 354.7 MB, free: 2.039 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0008897/0.0158, allocations: 440.6 kB / 355.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.01592, allocations: 55.53 kB / 355.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01592, allocations: 0 / 355.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.01597, allocations: 31.67 kB / 355.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.01627, allocations: 31.84 kB / 355.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.01662, allocations: 257.9 kB / 355.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.758e-05/0.01666, allocations: 79.45 kB / 355.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.544e-05/0.0167, allocations: 16.47 kB / 355.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.01673, allocations: 20.5 kB / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of SimCode: time 5e-07/0.01673, allocations: 0 / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of Templates: time 0.003858/0.02059, allocations: 1.853 MB / 357.5 MB, free: 15.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.148695263080299]