Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007698/0.0007698, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.001965, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006839/0.0006839, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001698, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9482/0.9482, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1696/1.118, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.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.1528/0.1528, allocations: 32.81 MB / 272 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02219/0.175, allocations: 12.54 MB / 284.5 MB, free: 9.734 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.384e-05, allocations: 8.984 kB / 286 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002418/0.002442, allocations: 1.807 MB / 287.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.003692, allocations: 0.8766 MB / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.003795, allocations: 0 / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.00409, allocations: 115.5 kB / 288.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.00431, allocations: 87.58 kB / 288.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.004648, allocations: 115.5 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.004854, allocations: 115.6 kB / 289.1 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.004944, allocations: 11.98 kB / 289.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.005077, allocations: 95.75 kB / 289.2 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.005182, allocations: 63.8 kB / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.0052, allocations: 4 kB / 289.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.005311, allocations: 51.92 kB / 289.3 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.005359, allocations: 23.94 kB / 289.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.005394, allocations: 19.88 kB / 289.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.00558, allocations: 111.6 kB / 289.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.005594, allocations: 4 kB / 289.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005595, allocations: 0 / 289.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.005607, allocations: 0 / 289.4 MB, free: 4.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000466/0.006073, allocations: 367.6 kB / 289.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.006115, allocations: 12.03 kB / 289.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.006159, allocations: 4.938 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.006369, allocations: 158.3 kB / 290 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.006388, allocations: 4.375 kB / 290 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.006422, allocations: 384 / 290 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.006568, allocations: 69.75 kB / 290 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.006581, allocations: 3.938 kB / 290 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.006589, allocations: 0 / 290 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.006596, allocations: 4 kB / 290 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.006624, allocations: 11.98 kB / 290.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.006914, allocations: 185.8 kB / 290.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.00709, allocations: 93.3 kB / 290.3 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.007112, allocations: 16.84 kB / 290.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.007125, allocations: 0 / 290.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.007229, allocations: 70.34 kB / 290.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.00723, allocations: 0 / 290.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004631/0.007694, allocations: 169.4 kB / 290.6 MB, free: 3.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.007721, allocations: 59.39 kB / 290.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.007834, allocations: 193.4 kB / 290.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.007853, allocations: 33.69 kB / 290.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.007889, allocations: 103.8 kB / 291 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.007919, allocations: 39.69 kB / 291 MB, free: 3.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.007952, allocations: 29.7 kB / 291 MB, free: 3.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.008034, allocations: 326.8 kB / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.008055, allocations: 10.83 kB / 291.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/0.008082, allocations: 29.69 kB / 291.4 MB, free: 2.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.725e-05/0.008139, allocations: 68.42 kB / 291.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.00814, allocations: 0 / 291.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.841e-05/0.008229, allocations: 72.5 kB / 291.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.008241, allocations: 7.938 kB / 291.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.008246, allocations: 3.984 kB / 291.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.008259, allocations: 4 kB / 291.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.008329, allocations: 23.98 kB / 291.6 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.008335, allocations: 4 kB / 291.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.631e-05/0.008372, allocations: 3.984 kB / 291.6 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.008378, allocations: 4 kB / 291.6 MB, free: 2.492 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 (13): * Single equations (assignments): 13 * 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.435e-05/0.008453, allocations: 124.6 kB / 291.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.008469, allocations: 15.92 kB / 291.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.008597, allocations: 91.06 kB / 291.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.0086, allocations: 0 / 291.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008602, allocations: 0 / 291.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.008606, allocations: 4 kB / 291.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.008883, allocations: 332.1 kB / 292.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.008886, allocations: 0 / 292.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.008926, allocations: 19.98 kB / 292.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.008939, allocations: 15.97 kB / 292.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008942, allocations: 0 / 292.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.008951, allocations: 8 kB / 292.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.008955, allocations: 4 kB / 292.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.008958, allocations: 4 kB / 292.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.009093, allocations: 239.8 kB / 292.4 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.009113, allocations: 4 kB / 292.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.422e-05/0.009158, allocations: 4 kB / 292.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.009193, allocations: 15.97 kB / 292.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.00921, allocations: 7.938 kB / 292.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.701e-05/0.009267, allocations: 68.69 kB / 292.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009267, allocations: 0 / 292.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001801/0.009447, allocations: 27.94 kB / 292.5 MB, free: 1.453 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001727/0.01117, allocations: 0.7186 MB / 293.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.01131, allocations: 48.78 kB / 293.3 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.01132, allocations: 4 kB / 293.3 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.01137, allocations: 44.81 kB / 293.4 MB, free: 1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.01161, allocations: 184.3 kB / 293.5 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.01209, allocations: 271.6 kB / 293.8 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.01213, allocations: 75.27 kB / 293.9 MB, free: 412 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.363e-05/0.01218, allocations: 20.81 kB / 293.9 MB, free: 392 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.01225, allocations: 83.34 kB / 294 MB, free: 308 kB / 282.7 MB Notification: Performance of SimCode: time 1.352e-06/0.01225, allocations: 0 / 294 MB, free: 308 kB / 282.7 MB Notification: Performance of Templates: time 0.004061/0.01631, allocations: 2.293 MB / 296.3 MB, free: 14.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.803114630281925]