Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.00155/0.00155, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001997/0.001997, allocations: 161.9 kB / 24.99 MB, free: 8.801 MB / 18.57 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.062/1.062, allocations: 177.1 MB / 205.3 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3469/0.3469, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 378.1 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.212e-05, allocations: 2.312 kB / 378.1 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002321/0.002343, allocations: 1.769 MB / 379.9 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.003519, allocations: 0.9975 MB / 380.9 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.003602, allocations: 4 kB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.00388, allocations: 51.62 kB / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.004212, allocations: 95.53 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.004389, allocations: 71.62 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.004551, allocations: 115.5 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.004647, allocations: 4 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.004729, allocations: 55.83 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.107e-05/0.0048, allocations: 27.91 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.004816, allocations: 4 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.056e-05/0.004897, allocations: 43.92 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.00495, allocations: 23.92 kB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.004998, allocations: 27.91 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.005177, allocations: 99.53 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005179, allocations: 4 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00518, allocations: 0 / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.005184, allocations: 0 / 381.5 MB, free: 15.51 MB / 362.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.0004677/0.005652, allocations: 443.9 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.005701, allocations: 12.03 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.005769, allocations: 16.84 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.005955, allocations: 153.1 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.005972, allocations: 8.375 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.005989, allocations: 384 / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.006099, allocations: 66.88 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.006109, allocations: 3.938 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.00612, allocations: 4 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.006127, allocations: 0 / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.404e-05/0.006161, allocations: 11.98 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.006451, allocations: 287.8 kB / 382.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.006548, allocations: 51.11 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.006588, allocations: 31.61 kB / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.0066, allocations: 0 / 382.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.888e-05/0.006699, allocations: 73.03 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.0067, allocations: 0 / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003783/0.007078, allocations: 149.4 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.007109, allocations: 55.41 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.007242, allocations: 238.3 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.007253, allocations: 29.64 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.007309, allocations: 154.9 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.007333, allocations: 19.8 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.007363, allocations: 35.36 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.007473, allocations: 0.4962 MB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.007497, allocations: 11.94 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.007532, allocations: 35.36 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.007593, allocations: 55.28 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007595, allocations: 4 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001072/0.007702, allocations: 97.59 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.007714, allocations: 4 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.007718, allocations: 0 / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.007728, allocations: 4.031 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.007797, allocations: 19.98 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.007801, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.007827, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.007833, allocations: 7.938 kB / 384 MB, free: 12.75 MB / 362.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 7.695e-05/0.007909, allocations: 164.5 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.007925, allocations: 11.95 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.008066, allocations: 103.1 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.008069, allocations: 4 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.008073, allocations: 4 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.008076, allocations: 0 / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.008358, allocations: 400.9 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.00836, allocations: 0 / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.008384, allocations: 8 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.008387, allocations: 4 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.008394, allocations: 0 / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008396, allocations: 0 / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.008397, allocations: 0 / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.00854, allocations: 255.4 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.008551, allocations: 15.94 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.008569, allocations: 12.36 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.761e-05/0.008606, allocations: 0 / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.008643, allocations: 11.98 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.008656, allocations: 4 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.134e-05/0.008747, allocations: 180 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008747, allocations: 0 / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.008944, allocations: 27.92 kB / 385.2 MB, free: 11.48 MB / 362.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.0009216/0.009865, allocations: 433.8 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.009982, allocations: 63.59 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.009983, allocations: 0 / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.655e-05/0.01002, allocations: 27.67 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.01024, allocations: 31.91 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.01058, allocations: 225.9 kB / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.105e-05/0.01062, allocations: 71.33 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.01065, allocations: 13.11 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.01068, allocations: 20.48 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01068, allocations: 0 / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Templates: time 0.00367/0.01435, allocations: 1.87 MB / 387.9 MB, free: 8.867 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.313659058883786]