Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.0007939/0.0007939, 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.0009109/0.0009109, 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.9275/0.9275, allocations: 177.1 MB / 205 MB, free: 5.613 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.269/0.269, allocations: 32.8 MB / 294.3 MB, free: 1.219 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 376.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.639e-05/3.871e-05, allocations: 6.25 kB / 376.1 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003849/0.003888, allocations: 1.757 MB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.005917, allocations: 1.013 MB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.00603, allocations: 3.938 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.006433, allocations: 47.75 kB / 378.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.006855, allocations: 107.5 kB / 379 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.007139, allocations: 75.66 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.00736, allocations: 115.6 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.007466, allocations: 4 kB / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.007597, allocations: 59.81 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.007689, allocations: 19.92 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.007712, allocations: 4 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.007832, allocations: 43.92 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.007902, allocations: 31.91 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.007963, allocations: 19.88 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.008273, allocations: 111.6 kB / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.008281, allocations: 0 / 379.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.008284, allocations: 4 kB / 379.5 MB, free: 1.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.008291, allocations: 0 / 379.5 MB, free: 1.121 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.000775/0.009066, allocations: 459.7 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.009124, allocations: 8.031 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.009196, allocations: 20.84 kB / 380 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.009452, allocations: 161.2 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.009474, allocations: 384 / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.009498, allocations: 4.375 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.009675, allocations: 62.94 kB / 380.2 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.009689, allocations: 3.938 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.009702, allocations: 8 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.009712, allocations: 3.984 kB / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.453e-05/0.009767, allocations: 8 kB / 380.2 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.01018, allocations: 287.8 kB / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.01035, allocations: 63.09 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.01039, allocations: 15.62 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.0104, allocations: 0 / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.01055, allocations: 73.05 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.01055, allocations: 0 / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005461/0.0111, allocations: 169.3 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.01114, allocations: 51.41 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.01135, allocations: 259.1 kB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.01137, allocations: 25.7 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.01145, allocations: 158.9 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.0115, allocations: 31.72 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.01154, allocations: 31.38 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.01169, allocations: 0.4923 MB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.01174, allocations: 19.98 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/0.01179, allocations: 35.36 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.01187, allocations: 47.31 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01187, allocations: 0 / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001642/0.01204, allocations: 93.52 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01206, allocations: 8 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01206, allocations: 384 / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.01208, allocations: 0 / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.01218, allocations: 23.86 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.01219, allocations: 12.03 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.01223, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.01224, allocations: 4 kB / 382.1 MB, free: 14.29 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 9.913e-05/0.01234, allocations: 168.5 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.01237, allocations: 15.91 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.01259, allocations: 107.2 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01259, allocations: 4 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01259, allocations: 0 / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.0126, allocations: 3.984 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.01303, allocations: 401 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01304, allocations: 0 / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.01309, allocations: 11.98 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.01309, allocations: 4 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.0131, allocations: 4 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01311, allocations: 0 / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01311, allocations: 0 / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.01333, allocations: 267.4 kB / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.01335, allocations: 11.91 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.01337, allocations: 0 / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.01345, allocations: 16.02 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.01349, allocations: 7.984 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.0135, allocations: 3.938 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.01364, allocations: 183.1 kB / 383.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01364, allocations: 0 / 383.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.01394, allocations: 31.92 kB / 383.3 MB, free: 12.99 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.001305/0.01524, allocations: 430.6 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.01542, allocations: 51.59 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.01542, allocations: 4.062 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.225e-05/0.01548, allocations: 31.61 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.01588, allocations: 30.86 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.01644, allocations: 245.4 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.222e-05/0.0165, allocations: 71.28 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.01656, allocations: 17.27 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.01661, allocations: 20.56 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.133e-06/0.01661, allocations: 4 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Templates: time 0.005428/0.02204, allocations: 2.019 MB / 386.2 MB, free: 10.21 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.95713730994612]