Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001908/0.001908, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00233/0.00233, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.513/1.513, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3608/0.3608, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 375.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.755e-05/5.03e-05, allocations: 5.688 kB / 375.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.005045/0.005095, allocations: 1.719 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.007554, allocations: 0.9742 MB / 378 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.007708, allocations: 0 / 378 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003904/0.008098, allocations: 51.69 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.008558, allocations: 91.48 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.008881, allocations: 79.66 kB / 378.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.009124, allocations: 111.6 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.009225, allocations: 4 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.009349, allocations: 55.84 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.009444, allocations: 31.89 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.009466, allocations: 4 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.009599, allocations: 43.92 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.009676, allocations: 19.92 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.00974, allocations: 23.86 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.01002, allocations: 123.5 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01002, allocations: 0 / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01002, allocations: 0 / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.01003, allocations: 0 / 378.7 MB, free: 1.535 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.0007029/0.01073, allocations: 349.6 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.01077, allocations: 8.031 kB / 379 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.01084, allocations: 16.84 kB / 379 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.01121, allocations: 162 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.01123, allocations: 8.312 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.01126, allocations: 384 / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.01144, allocations: 58.23 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.01145, allocations: 3.938 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.01147, allocations: 3.984 kB / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.01148, allocations: 0 / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.62e-05/0.01158, allocations: 27.97 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.01198, allocations: 232.6 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.01219, allocations: 54.62 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.01226, allocations: 24.78 kB / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.01228, allocations: 0 / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.01247, allocations: 67.39 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.01247, allocations: 0 / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006706/0.01314, allocations: 189.3 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.0132, allocations: 59.39 kB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.01348, allocations: 211 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.01351, allocations: 25.7 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.0136, allocations: 112 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.01364, allocations: 31.73 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.0137, allocations: 21.72 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.0139, allocations: 326.8 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.01397, allocations: 19.98 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.01405, allocations: 33.7 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.01421, allocations: 73.62 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01421, allocations: 0 / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002433/0.01445, allocations: 101.6 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.01447, allocations: 8 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.01448, allocations: 3.984 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.0145, allocations: 0 / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.01461, allocations: 16.31 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01461, allocations: 4 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.01467, allocations: 8 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01469, allocations: 7.984 kB / 380.9 MB, free: 15.13 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.0001376/0.01482, allocations: 133.8 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.01486, allocations: 19.91 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.01517, allocations: 127.2 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01517, allocations: 3.938 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01517, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01518, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.01575, allocations: 354.9 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01575, allocations: 0 / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.0158, allocations: 12 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.0158, allocations: 4.031 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.01581, allocations: 4 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01581, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01582, allocations: 4 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.01614, allocations: 216.2 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.01617, allocations: 11.91 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.01619, allocations: 4 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.01628, allocations: 4 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.01633, allocations: 7.984 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.01634, allocations: 7.938 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.01654, allocations: 171.2 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01654, allocations: 0 / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.01682, allocations: 20 kB / 382 MB, free: 13.97 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.002375/0.0192, allocations: 495.3 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.01942, allocations: 63.91 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01942, allocations: 0 / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.272e-05/0.01951, allocations: 23.98 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.01989, allocations: 35.91 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.02055, allocations: 249.3 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.02067, allocations: 100.9 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.874e-05/0.02074, allocations: 25.27 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.02079, allocations: 16.5 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02079, allocations: 0 / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of Templates: time 0.006056/0.02684, allocations: 1.878 MB / 384.8 MB, free: 11.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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: 4.832164564053528]