Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001517/0.001517, allocations: 85.88 kB / 20.68 MB, free: 1.023 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.001574/0.001574, allocations: 163.2 kB / 23.95 MB, free: 4.148 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.401/1.401, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.1965/0.1965, allocations: 32.81 MB / 293.5 MB, free: 60 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 440.2 MB, free: 8.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.023e-05, allocations: 2.281 kB / 440.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002718/0.002738, allocations: 1.715 MB / 441.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.005148, allocations: 1.664 MB / 443.6 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.005219, allocations: 3.938 kB / 443.6 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.005469, allocations: 35.77 kB / 443.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.005805, allocations: 107.4 kB / 443.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.005993, allocations: 75.67 kB / 443.8 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.006169, allocations: 119.6 kB / 443.9 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.489e-05/0.006244, allocations: 4 kB / 443.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.006358, allocations: 63.75 kB / 444 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.006462, allocations: 27.91 kB / 444 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.006485, allocations: 8 kB / 444 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.006664, allocations: 107.8 kB / 444.1 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.006718, allocations: 19.91 kB / 444.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.006758, allocations: 19.94 kB / 444.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.007036, allocations: 175.5 kB / 444.3 MB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.007038, allocations: 3.938 kB / 444.3 MB, free: 3.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007038, allocations: 0 / 444.3 MB, free: 3.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.007046, allocations: 4 kB / 444.3 MB, free: 3.941 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.0005525/0.007599, allocations: 361.3 kB / 444.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.007627, allocations: 8.031 kB / 444.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.007669, allocations: 8.891 kB / 444.7 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.007896, allocations: 150.2 kB / 444.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.007904, allocations: 384 / 444.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.00793, allocations: 8.328 kB / 444.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.008112, allocations: 97.03 kB / 444.9 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.008123, allocations: 0 / 444.9 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.008134, allocations: 4 kB / 444.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.008138, allocations: 4 kB / 444.9 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.14e-05/0.00822, allocations: 27.91 kB / 445 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.008555, allocations: 236.5 kB / 445.2 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.008733, allocations: 54.67 kB / 445.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.008787, allocations: 20.84 kB / 445.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.008801, allocations: 0 / 445.3 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.008939, allocations: 71.33 kB / 445.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.00894, allocations: 0 / 445.3 MB, free: 2.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005479/0.009488, allocations: 185.4 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.00954, allocations: 81.05 kB / 445.6 MB, free: 2.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.009729, allocations: 177.5 kB / 445.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.009751, allocations: 25.7 kB / 445.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.009822, allocations: 96.14 kB / 445.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.00985, allocations: 23.84 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.009892, allocations: 21.72 kB / 445.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.01004, allocations: 326.8 kB / 446.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.435e-05/0.0101, allocations: 23.98 kB / 446.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.519e-05/0.0102, allocations: 68.27 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.01032, allocations: 69.73 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01033, allocations: 4 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/0.01054, allocations: 105.6 kB / 446.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.01055, allocations: 8 kB / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01056, allocations: 0 / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.01057, allocations: 0 / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.01066, allocations: 16.12 kB / 446.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.01067, allocations: 4 kB / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.01072, allocations: 11.95 kB / 446.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.01073, allocations: 4 kB / 446.6 MB, free: 1.477 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.000105/0.01083, allocations: 126.4 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.01086, allocations: 7.953 kB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.01113, allocations: 118.4 kB / 446.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01113, allocations: 0 / 446.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.01113, allocations: 0 / 446.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01114, allocations: 3.984 kB / 446.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.0116, allocations: 358.8 kB / 447.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.0116, allocations: 8.016 kB / 447.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.01165, allocations: 12.38 kB / 447.2 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01165, allocations: 0 / 447.2 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01166, allocations: 4 kB / 447.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01167, allocations: 3.938 kB / 447.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01167, allocations: 4 kB / 447.2 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.01195, allocations: 216.2 kB / 447.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.01197, allocations: 7.953 kB / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.01199, allocations: 4 kB / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.01207, allocations: 4 kB / 447.4 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.01211, allocations: 19.86 kB / 447.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.01212, allocations: 4 kB / 447.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.01224, allocations: 138.1 kB / 447.6 MB, free: 392 kB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01224, allocations: 0 / 447.6 MB, free: 392 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.01259, allocations: 47.88 kB / 447.6 MB, free: 344 kB / 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.1692/0.1818, allocations: 0.5841 MB / 448.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.1821, allocations: 58.91 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1821, allocations: 0 / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.1822, allocations: 28.84 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.1826, allocations: 26.67 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.1831, allocations: 206.1 kB / 448.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.871e-05/0.1832, allocations: 87.72 kB / 448.6 MB, free: 21.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.346e-05/0.1832, allocations: 19.56 kB / 448.6 MB, free: 21.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.1833, allocations: 24.52 kB / 448.7 MB, free: 21.24 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1833, allocations: 1.156 kB / 448.7 MB, free: 21.24 MB / 366.1 MB Notification: Performance of Templates: time 0.005911/0.1892, allocations: 2.52 MB / 451.2 MB, free: 21.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.56347306445241]