Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.0007761/0.0007761, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001208/0.001984, allocations: 449.7 kB / 10.37 MB, free: 328 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.001702/0.001702, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001924/0.003626, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.106, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3285/0.3285, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0248/0.3533, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.761e-05, allocations: 2.312 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003264/0.003281, allocations: 2.001 MB / 292.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.005191, allocations: 1.057 MB / 293.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.005311, allocations: 7.938 kB / 293.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.00557, allocations: 43.64 kB / 293.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.005894, allocations: 91.48 kB / 293.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.006171, allocations: 103.5 kB / 294 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.006452, allocations: 155.5 kB / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.006584, allocations: 14.47 kB / 294.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.006772, allocations: 111.6 kB / 294.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.006889, allocations: 43.83 kB / 294.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.006912, allocations: 8 kB / 294.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.007027, allocations: 43.98 kB / 294.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.00709, allocations: 23.86 kB / 294.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.007148, allocations: 23.94 kB / 294.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.007419, allocations: 123.5 kB / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.138e-05/0.00744, allocations: 0 / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007441, allocations: 0 / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.007464, allocations: 4 kB / 294.5 MB, free: 4.371 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008211/0.008285, allocations: 413.9 kB / 294.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.008324, allocations: 16.03 kB / 294.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.008378, allocations: 12.92 kB / 295 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.008587, allocations: 158.4 kB / 295.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.008609, allocations: 8.375 kB / 295.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.008634, allocations: 4.375 kB / 295.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.008809, allocations: 137.9 kB / 295.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.008818, allocations: 3.938 kB / 295.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.008828, allocations: 4 kB / 295.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.008833, allocations: 0 / 295.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.008879, allocations: 31.81 kB / 295.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.009229, allocations: 374 kB / 295.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.009406, allocations: 105.3 kB / 295.8 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.009429, allocations: 12.86 kB / 295.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.009442, allocations: 3.938 kB / 295.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.009561, allocations: 95.91 kB / 295.9 MB, free: 2.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.009563, allocations: 4 kB / 295.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001395/0.009702, allocations: 77.59 kB / 296 MB, free: 2.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.00973, allocations: 51.41 kB / 296 MB, free: 2.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.00985, allocations: 189.6 kB / 296.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.009867, allocations: 33.7 kB / 296.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.009921, allocations: 108 kB / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.009944, allocations: 31.77 kB / 296.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.009977, allocations: 25.7 kB / 296.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.01006, allocations: 334.7 kB / 296.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.01008, allocations: 10.83 kB / 296.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.01011, allocations: 48.22 kB / 296.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.403e-05/0.0102, allocations: 81.88 kB / 296.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.0102, allocations: 0 / 296.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.14e-05/0.01029, allocations: 84.38 kB / 296.9 MB, free: 1.723 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.0103, allocations: 4 kB / 296.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01031, allocations: 4.109 kB / 296.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.01032, allocations: 8 kB / 297 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.01038, allocations: 24 kB / 297 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01039, allocations: 7.875 kB / 297 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.01042, allocations: 15.94 kB / 297 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.01043, allocations: 0 / 297 MB, free: 1.66 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.344e-05/0.0105, allocations: 124.6 kB / 297.1 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.01051, allocations: 11.98 kB / 297.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.01062, allocations: 83.06 kB / 297.2 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01062, allocations: 0 / 297.2 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.01062, allocations: 8 kB / 297.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.01062, allocations: 0 / 297.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.428e-05/0.01071, allocations: 109.7 kB / 297.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01071, allocations: 3.938 kB / 297.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.01075, allocations: 12 kB / 297.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.01077, allocations: 7.953 kB / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01077, allocations: 4 kB / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.01077, allocations: 3.984 kB / 297.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.01078, allocations: 0 / 297.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01078, allocations: 0 / 297.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.01089, allocations: 123.1 kB / 297.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.01091, allocations: 4 kB / 297.5 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.01093, allocations: 7.984 kB / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.01096, allocations: 7.984 kB / 297.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.01097, allocations: 8 kB / 297.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.262e-05/0.01102, allocations: 53.41 kB / 297.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01102, allocations: 3.938 kB / 297.6 MB, free: 1.039 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000136/0.01115, allocations: 31.92 kB / 297.6 MB, free: 1.008 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001254/0.01241, allocations: 0.549 MB / 298.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.485e-05/0.0125, allocations: 52.77 kB / 298.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.01251, allocations: 0 / 298.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.01254, allocations: 32.72 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.01269, allocations: 61.39 kB / 298.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.01319, allocations: 254.6 kB / 298.5 MB, free: 356 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.627e-05/0.01322, allocations: 72.08 kB / 298.6 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.062e-05/0.01326, allocations: 17.48 kB / 298.6 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.01333, allocations: 75.3 kB / 298.7 MB, free: 172 kB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01333, allocations: 4 kB / 298.7 MB, free: 168 kB / 282.7 MB Notification: Performance of Templates: time 0.004039/0.01737, allocations: 2.235 MB / 300.9 MB, free: 13.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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: 3.071747141890228]