Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001329/0.001329, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002099/0.003428, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001144/0.001144, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002609, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9202/0.9202, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1406/1.061, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1387/0.1387, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02267/0.1614, allocations: 12.32 MB / 266.1 MB, free: 3.867 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.215e-05, allocations: 10.19 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002036/0.002058, allocations: 1.782 MB / 269.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009387/0.002997, allocations: 0.8038 MB / 270.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.625e-05/0.003063, allocations: 0 / 270.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.00327, allocations: 55.62 kB / 270.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.003419, allocations: 51.7 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.003617, allocations: 91.64 kB / 270.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.003754, allocations: 99.58 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.734e-05/0.003831, allocations: 16.22 kB / 270.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.00395, allocations: 63.91 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.004028, allocations: 27.89 kB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.004045, allocations: 7.938 kB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.191e-05/0.004127, allocations: 47.86 kB / 270.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.004169, allocations: 15.94 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.004197, allocations: 11.94 kB / 270.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.004344, allocations: 95.67 kB / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.004355, allocations: 0 / 270.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004356, allocations: 4 kB / 270.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.004365, allocations: 0 / 270.6 MB, free: 15.27 MB / 282.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.0003905/0.004755, allocations: 335.8 kB / 271 MB, free: 14.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.586e-05/0.004781, allocations: 8.031 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.004811, allocations: 8.938 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.004948, allocations: 150.2 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.004961, allocations: 384 / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.004979, allocations: 4.375 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.005075, allocations: 61.77 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.005084, allocations: 3.938 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.00509, allocations: 8 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.005095, allocations: 3.984 kB / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.005118, allocations: 11.92 kB / 271.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.005306, allocations: 174 kB / 271.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.199e-05/0.005388, allocations: 85.28 kB / 271.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.634e-05/0.005404, allocations: 8.859 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.005415, allocations: 4 kB / 271.5 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.733e-05/0.005503, allocations: 74.08 kB / 271.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.005504, allocations: 8 kB / 271.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002693/0.005773, allocations: 113.5 kB / 271.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.005795, allocations: 51.41 kB / 271.7 MB, free: 14.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.005892, allocations: 173 kB / 271.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.005906, allocations: 29.7 kB / 271.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.005934, allocations: 100.1 kB / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.005957, allocations: 23.78 kB / 272 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.005985, allocations: 21.7 kB / 272.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.006053, allocations: 322.8 kB / 272.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.006069, allocations: 10.83 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.006092, allocations: 29.69 kB / 272.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.006131, allocations: 44.47 kB / 272.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006132, allocations: 0 / 272.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.876e-05/0.006201, allocations: 72.42 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.006212, allocations: 7.938 kB / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006216, allocations: 0 / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.006227, allocations: 4 kB / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.006288, allocations: 19.92 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.006291, allocations: 4 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.006315, allocations: 4.031 kB / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.006322, allocations: 8 kB / 272.6 MB, free: 13.14 MB / 282.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 5.629e-05/0.006378, allocations: 112.7 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.006391, allocations: 15.94 kB / 272.7 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.969e-05/0.006481, allocations: 79.19 kB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006483, allocations: 0 / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.006485, allocations: 4 kB / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.006487, allocations: 0 / 272.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.006679, allocations: 291.4 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.006681, allocations: 4.031 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.006711, allocations: 15.98 kB / 273.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.006724, allocations: 11.94 kB / 273.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.006727, allocations: 0 / 273.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.006734, allocations: 4 kB / 273.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.006735, allocations: 0 / 273.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006736, allocations: 4.312 kB / 273.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.432e-05/0.006831, allocations: 215 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.006845, allocations: 4 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.006883, allocations: 4 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.006906, allocations: 15.92 kB / 273.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.006916, allocations: 8 kB / 273.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.871e-05/0.006955, allocations: 48.34 kB / 273.4 MB, free: 12.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006955, allocations: 0 / 273.4 MB, free: 12.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.007095, allocations: 23.94 kB / 273.4 MB, free: 12.24 MB / 282.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.001283/0.008378, allocations: 0.64 MB / 274.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.696e-05/0.008465, allocations: 44.77 kB / 274.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.008472, allocations: 4 kB / 274.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/0.008508, allocations: 24.8 kB / 274.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.008729, allocations: 180.3 kB / 274.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.009144, allocations: 226.5 kB / 274.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.787e-05/0.009182, allocations: 63.34 kB / 274.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.524e-05/0.009217, allocations: 12.95 kB / 274.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.009281, allocations: 71.36 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of SimCode: time 9.41e-07/0.009282, allocations: 3.938 kB / 274.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of Templates: time 0.003674/0.01296, allocations: 2.044 MB / 276.7 MB, free: 8.832 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.806421769782901]