Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.0008309/0.0008309, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00114/0.001971, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007347/0.0007347, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008607/0.001595, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 1.054/1.054, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2353/1.29, allocations: 49.5 MB / 220.5 MB, free: 5.273 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.1515/0.1515, allocations: 32.35 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02913/0.1806, allocations: 12.3 MB / 265.9 MB, free: 7.828 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.381e-05, allocations: 2.312 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004194/0.004228, allocations: 1.966 MB / 269.3 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.005712, allocations: 0.8465 MB / 270.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.005841, allocations: 7.938 kB / 270.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.006127, allocations: 51.62 kB / 270.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.006329, allocations: 59.58 kB / 270.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.006613, allocations: 103.6 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.006842, allocations: 139.6 kB / 270.5 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.006971, allocations: 26.33 kB / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.00718, allocations: 104.5 kB / 270.6 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.007316, allocations: 35.84 kB / 270.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.007346, allocations: 8 kB / 270.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.00746, allocations: 47.91 kB / 270.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.007522, allocations: 19.92 kB / 270.7 MB, free: 3.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.007578, allocations: 27.88 kB / 270.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.007836, allocations: 123.5 kB / 270.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.684e-05/0.007863, allocations: 0 / 270.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.491e-06/0.007868, allocations: 0 / 270.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.007897, allocations: 0 / 270.8 MB, free: 2.875 MB / 266.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.0007161/0.008613, allocations: 401.4 kB / 271.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.008662, allocations: 8.031 kB / 271.2 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.008716, allocations: 16.92 kB / 271.3 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.008985, allocations: 157.5 kB / 271.4 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.009007, allocations: 4.375 kB / 271.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.009035, allocations: 16.11 kB / 271.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.009261, allocations: 133.4 kB / 271.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.009272, allocations: 0 / 271.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.009287, allocations: 12 kB / 271.6 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.009297, allocations: 0 / 271.6 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.009351, allocations: 26.75 kB / 271.6 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.009839, allocations: 374.1 kB / 272 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.01011, allocations: 105.2 kB / 272.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.01013, allocations: 16.86 kB / 272.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.01015, allocations: 0 / 272.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.0103, allocations: 103.9 kB / 272.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.0103, allocations: 3.938 kB / 272.2 MB, free: 1.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001767/0.01048, allocations: 69.67 kB / 272.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.01052, allocations: 59.39 kB / 272.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.01065, allocations: 180.9 kB / 272.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.01068, allocations: 33.7 kB / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.01073, allocations: 100 kB / 272.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.01076, allocations: 35.72 kB / 272.7 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.01081, allocations: 33.69 kB / 272.7 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01092, allocations: 330.7 kB / 273 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.01095, allocations: 14.83 kB / 273 MB, free: 500 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.01099, allocations: 44.3 kB / 273.1 MB, free: 440 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.514e-05/0.01107, allocations: 74.23 kB / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01107, allocations: 0 / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001149/0.01119, allocations: 92.3 kB / 273.2 MB, free: 248 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.0112, allocations: 8.125 kB / 273.2 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.01121, allocations: 4 kB / 273.3 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.01123, allocations: 11.98 kB / 273.3 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.01132, allocations: 27.92 kB / 273.3 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01133, allocations: 3.984 kB / 273.3 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.01137, allocations: 7.953 kB / 273.3 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.01138, allocations: 7.938 kB / 273.3 MB, free: 176 kB / 266.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 8.176e-05/0.01146, allocations: 124.5 kB / 273.4 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.01148, allocations: 15.98 kB / 273.4 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.01162, allocations: 75.12 kB / 273.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01162, allocations: 4 kB / 273.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01163, allocations: 4 kB / 273.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01163, allocations: 0 / 273.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.01174, allocations: 97.78 kB / 273.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01174, allocations: 0 / 273.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.519e-05/0.01183, allocations: 15.94 kB / 273.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.01185, allocations: 11.91 kB / 273.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.01186, allocations: 3.984 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01187, allocations: 7.938 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01188, allocations: 0 / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01188, allocations: 4 kB / 273.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.01204, allocations: 118.6 kB / 273.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01206, allocations: 4 kB / 273.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.773e-05/0.0121, allocations: 7.984 kB / 273.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.01214, allocations: 7.984 kB / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.01216, allocations: 4 kB / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.254e-05/0.01222, allocations: 45.61 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01222, allocations: 0 / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001541/0.01237, allocations: 31.94 kB / 273.9 MB, free: 15.54 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.001305/0.01367, allocations: 0.547 MB / 274.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.01384, allocations: 56.7 kB / 274.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/0.01386, allocations: 4 kB / 274.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.646e-05/0.01391, allocations: 28.97 kB / 274.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01414, allocations: 51.86 kB / 274.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008352/0.01497, allocations: 264.4 kB / 274.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.671e-05/0.01503, allocations: 67.84 kB / 274.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.528e-05/0.01508, allocations: 13.14 kB / 274.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.01517, allocations: 75.36 kB / 275 MB, free: 14.38 MB / 282.7 MB Notification: Performance of SimCode: time 1.683e-06/0.01518, allocations: 0 / 275 MB, free: 14.38 MB / 282.7 MB Notification: Performance of Templates: time 0.004894/0.02007, allocations: 2.252 MB / 277.2 MB, free: 12.12 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.0625869408249855]