Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001026/0.001026, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001044/0.001044, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9282/0.9282, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2338/0.2338, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.771e-05, allocations: 6.25 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002114/0.002132, allocations: 1.77 MB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003432, allocations: 1.005 MB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.003496, allocations: 3.938 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.003722, allocations: 43.7 kB / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.003973, allocations: 99.47 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.00413, allocations: 71.67 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.00426, allocations: 115.6 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.285e-05/0.004323, allocations: 4 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.018e-05/0.004393, allocations: 59.81 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.004448, allocations: 19.92 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.00446, allocations: 4 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.944e-05/0.00453, allocations: 51.86 kB / 379.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.004569, allocations: 19.91 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.0046, allocations: 23.92 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004739, allocations: 95.66 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.00474, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004741, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.004744, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.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.000501/0.005245, allocations: 439.9 kB / 379.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.005281, allocations: 8.031 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.005334, allocations: 16.88 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.005522, allocations: 156.2 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.005541, allocations: 4.375 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.005559, allocations: 8.375 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.005678, allocations: 58.94 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.005691, allocations: 7.938 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.005699, allocations: 0 / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.005706, allocations: 0 / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.153e-05/0.005748, allocations: 11.98 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.005995, allocations: 275.8 kB / 380.4 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.915e-05/0.006084, allocations: 51.11 kB / 380.5 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.006112, allocations: 23.61 kB / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.006123, allocations: 4 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.006237, allocations: 73.06 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/0.00624, allocations: 3.984 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004179/0.006658, allocations: 149.4 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.006704, allocations: 51.41 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.006853, allocations: 222.5 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.00687, allocations: 29.7 kB / 381 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.006927, allocations: 142.9 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.00699, allocations: 31.77 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.00703, allocations: 27.38 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.007154, allocations: 0.4962 MB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.007188, allocations: 11.98 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.552e-05/0.007233, allocations: 35.36 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.239e-05/0.007305, allocations: 47.31 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007307, allocations: 4 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001509/0.007458, allocations: 97.52 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.00747, allocations: 11.94 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.007474, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.007487, allocations: 4.031 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.007566, allocations: 15.94 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.007571, allocations: 4 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.007608, allocations: 3.984 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.007615, allocations: 4 kB / 382 MB, free: 14.45 MB / 362.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 0.0001276/0.007742, allocations: 164.5 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.00776, allocations: 15.95 kB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.007902, allocations: 102.5 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007903, allocations: 0 / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.007906, allocations: 0 / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.00791, allocations: 8 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.00815, allocations: 388.9 kB / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008152, allocations: 0 / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.008179, allocations: 8 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008181, allocations: 4 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.008191, allocations: 7.984 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.008194, allocations: 0 / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.008196, allocations: 4 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.008389, allocations: 255.4 kB / 382.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.008402, allocations: 3.953 kB / 382.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.008424, allocations: 8.031 kB / 382.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.008494, allocations: 4 kB / 382.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.008524, allocations: 11.92 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.008539, allocations: 4 kB / 382.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.188e-05/0.008631, allocations: 167.9 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008631, allocations: 0 / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002846/0.008915, allocations: 27.92 kB / 383.1 MB, free: 13.2 MB / 362.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.001096/0.01001, allocations: 440.1 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.01016, allocations: 59.59 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01016, allocations: 0 / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.01022, allocations: 35.61 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.01054, allocations: 31.92 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.0109, allocations: 206.4 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.879e-05/0.01095, allocations: 67.34 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.01112, allocations: 17.39 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.01116, allocations: 20.5 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01116, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of Templates: time 0.004504/0.01567, allocations: 1.991 MB / 386 MB, free: 10.47 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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: 2.951013651676476]