Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.0009925/0.0009925, 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.0009927/0.0009927, allocations: 168 kB / 25 MB, free: 8.871 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.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2773/0.2773, 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.821e-05, allocations: 2.312 kB / 378.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00249/0.002518, allocations: 1.761 MB / 379.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.003914, allocations: 0.9975 MB / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.004018, allocations: 7.938 kB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.004373, allocations: 83.62 kB / 381 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.004737, allocations: 123.5 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.004974, allocations: 75.61 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.005158, allocations: 131.5 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.005247, allocations: 4 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.119e-05/0.005338, allocations: 63.81 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.00544, allocations: 55.88 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.005457, allocations: 4 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.005553, allocations: 43.92 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.005616, allocations: 27.91 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.005663, allocations: 27.86 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.005866, allocations: 103.6 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.00587, allocations: 0 / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005871, allocations: 0 / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.005876, allocations: 0 / 381.6 MB, free: 15.35 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.0005102/0.006387, allocations: 455.8 kB / 382.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.006428, allocations: 8.031 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.006483, allocations: 16.84 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.00668, allocations: 156.4 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.006701, allocations: 384 / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.006726, allocations: 16.27 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.006897, allocations: 62.94 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.006913, allocations: 7.922 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.006923, allocations: 0 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.006933, allocations: 0 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.006975, allocations: 12 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.007348, allocations: 287.8 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.007495, allocations: 59.09 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.00753, allocations: 19.62 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.007547, allocations: 4 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.007692, allocations: 69.05 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.007694, allocations: 0 / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004758/0.008169, allocations: 165.3 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.008204, allocations: 51.41 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.008358, allocations: 242.7 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.008373, allocations: 29.7 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.008432, allocations: 154.9 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.008464, allocations: 31.69 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.008502, allocations: 31.36 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.008617, allocations: 0.5001 MB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.82e-05/0.008645, allocations: 8 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.008682, allocations: 35.36 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.008742, allocations: 55.3 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.008743, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001215/0.008865, allocations: 97.62 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.008879, allocations: 4 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.008884, allocations: 0 / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.008899, allocations: 4.031 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.008985, allocations: 23.92 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.008991, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.009024, allocations: 4 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.009031, allocations: 4 kB / 384.2 MB, free: 12.55 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 8.061e-05/0.009112, allocations: 160.5 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.009133, allocations: 23.89 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.009297, allocations: 107 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.009299, allocations: 0 / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.009304, allocations: 3.938 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.009308, allocations: 7.984 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.009629, allocations: 393 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.009631, allocations: 0 / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.009663, allocations: 12.38 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.009667, allocations: 4 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.009677, allocations: 3.984 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.00968, allocations: 4 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009682, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.009844, allocations: 263.4 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.009858, allocations: 7.953 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.009879, allocations: 8.031 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.605e-05/0.009925, allocations: 4 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.009962, allocations: 7.969 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.009976, allocations: 7.938 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.86e-05/0.01006, allocations: 189 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01006, allocations: 0 / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.01025, allocations: 27.94 kB / 385.4 MB, free: 11.26 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.001054/0.01131, allocations: 432.4 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.01146, allocations: 55.59 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01146, allocations: 0 / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.142e-05/0.01151, allocations: 31.67 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.01178, allocations: 36.72 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.01221, allocations: 240.5 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.406e-05/0.01226, allocations: 75.27 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.413e-05/0.01231, allocations: 9.109 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.01235, allocations: 28.48 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01235, allocations: 0 / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of Templates: time 0.004354/0.0167, allocations: 1.883 MB / 388.2 MB, free: 8.613 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.399425989948213]