Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001493/0.001493, allocations: 82.58 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001376/0.001376, allocations: 163.1 kB / 23.96 MB, free: 4.164 MB / 14.72 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.384/1.384, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 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.1956/0.1956, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.1 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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.897e-05, allocations: 5.234 kB / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002906/0.002935, allocations: 1.712 MB / 441.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.004709, allocations: 0.9703 MB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.004775, allocations: 4 kB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.005064, allocations: 47.75 kB / 442.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.005366, allocations: 95.48 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.005566, allocations: 83.59 kB / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.005745, allocations: 103.6 kB / 443.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.005828, allocations: 11.98 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.005935, allocations: 47.84 kB / 443.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.006016, allocations: 27.91 kB / 443.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.006036, allocations: 8 kB / 443.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.415e-05/0.00613, allocations: 43.92 kB / 443.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.006194, allocations: 27.86 kB / 443.4 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.006242, allocations: 23.91 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.006451, allocations: 111.6 kB / 443.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.006454, allocations: 0 / 443.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006455, allocations: 0 / 443.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.006459, allocations: 4 kB / 443.5 MB, free: 4.738 MB / 366.1 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.000522/0.006981, allocations: 341.6 kB / 443.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.007012, allocations: 11.97 kB / 443.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.007059, allocations: 20.84 kB / 443.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.007283, allocations: 146.3 kB / 444 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.007295, allocations: 8.312 kB / 444 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.007315, allocations: 4.375 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.007464, allocations: 58.22 kB / 444.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.007477, allocations: 3.938 kB / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.007489, allocations: 4 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.007492, allocations: 0 / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.677e-05/0.007569, allocations: 19.98 kB / 444.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.007945, allocations: 236.6 kB / 444.3 MB, free: 3.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.008128, allocations: 62.61 kB / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.008192, allocations: 24.73 kB / 444.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.008206, allocations: 0 / 444.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.008361, allocations: 71.38 kB / 444.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.008362, allocations: 0 / 444.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.008937, allocations: 189.3 kB / 444.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.008982, allocations: 51.41 kB / 444.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.00921, allocations: 202.2 kB / 444.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.00923, allocations: 33.7 kB / 444.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.009308, allocations: 104.1 kB / 445 MB, free: 3.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.00935, allocations: 27.78 kB / 445.1 MB, free: 3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.009397, allocations: 25.7 kB / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.009553, allocations: 326.8 kB / 445.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/0.009617, allocations: 23.92 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.009689, allocations: 33.7 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.009817, allocations: 61.66 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.009818, allocations: 0 / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002083/0.01003, allocations: 113.5 kB / 445.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.01004, allocations: 4 kB / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.01004, allocations: 0 / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.01006, allocations: 4 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.01015, allocations: 15.98 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.01015, allocations: 0 / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.0102, allocations: 4 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.01021, allocations: 7.938 kB / 445.7 MB, free: 2.359 MB / 366.1 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.0001092/0.01032, allocations: 134.4 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.01034, allocations: 11.98 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.01061, allocations: 123.1 kB / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01061, allocations: 0 / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01061, allocations: 0 / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.01062, allocations: 3.984 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.01108, allocations: 351.2 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01108, allocations: 4 kB / 446.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.01112, allocations: 12.38 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01113, allocations: 3.938 kB / 446.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01114, allocations: 7.984 kB / 446.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.01114, allocations: 8.031 kB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01114, allocations: 0 / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.0114, allocations: 212.2 kB / 446.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.01142, allocations: 11.91 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.01145, allocations: 3.984 kB / 446.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.01152, allocations: 8 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.01156, allocations: 7.984 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.01157, allocations: 4 kB / 446.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.01171, allocations: 152.2 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01171, allocations: 0 / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.01197, allocations: 31.94 kB / 446.7 MB, free: 1.215 MB / 366.1 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.001782/0.01375, allocations: 494.5 kB / 447.2 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.01394, allocations: 59.97 kB / 447.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01394, allocations: 3.938 kB / 447.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.932e-05/0.01402, allocations: 31.98 kB / 447.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.01437, allocations: 26.92 kB / 447.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.01484, allocations: 242 kB / 447.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.742e-05/0.01494, allocations: 96.28 kB / 447.7 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.851e-05/0.01499, allocations: 13.11 kB / 447.7 MB, free: 436 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.01503, allocations: 20.48 kB / 447.7 MB, free: 416 kB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01503, allocations: 0 / 447.7 MB, free: 416 kB / 366.1 MB Notification: Performance of Templates: time 0.1586/0.1736, allocations: 1.846 MB / 449.6 MB, free: 21.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.562566626816988]