Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001439/0.001439, 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.001287/0.001287, allocations: 166.7 kB / 24.99 MB, free: 8.793 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.004/1.004, 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.3153/0.3153, allocations: 34.26 MB / 296 MB, free: 0.7734 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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.661e-05, allocations: 6.25 kB / 378.1 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002335/0.002361, allocations: 1.649 MB / 379.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007328/0.003094, allocations: 0.5298 MB / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.003154, allocations: 8 kB / 380.2 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.003446, allocations: 123.5 kB / 380.4 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.003715, allocations: 131.5 kB / 380.5 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.003928, allocations: 91.69 kB / 380.6 MB, free: 424 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.004093, allocations: 99.73 kB / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.004198, allocations: 15.92 kB / 380.7 MB, free: 308 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.004275, allocations: 51.88 kB / 380.7 MB, free: 256 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.004396, allocations: 95.81 kB / 380.8 MB, free: 160 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.004411, allocations: 0 / 380.8 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.452e-05/0.004505, allocations: 51.91 kB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.004562, allocations: 19.94 kB / 380.9 MB, free: 88 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.0046, allocations: 19.86 kB / 380.9 MB, free: 68 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.004808, allocations: 99.59 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.004812, allocations: 4 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004813, allocations: 0 / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.004818, allocations: 0 / 381 MB, free: 15.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004595/0.005277, allocations: 475.6 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.005316, allocations: 8.031 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.005367, allocations: 16.84 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.005527, allocations: 148.4 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.005539, allocations: 4.375 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.005559, allocations: 384 / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.005676, allocations: 66.88 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.005686, allocations: 192 / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.005696, allocations: 4.125 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.005703, allocations: 0 / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.005744, allocations: 19.97 kB / 381.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.006089, allocations: 307.7 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.414e-05/0.006163, allocations: 46.98 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.006191, allocations: 15.62 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.006211, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.006233, allocations: 33.39 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.006235, allocations: 0 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005844/0.006819, allocations: 177.7 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.006852, allocations: 55.41 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.007056, allocations: 274.8 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.007067, allocations: 25.7 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.007145, allocations: 170.8 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.007175, allocations: 27.8 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.007215, allocations: 27.38 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.007351, allocations: 0.5078 MB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.007376, allocations: 15.88 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.007398, allocations: 12.06 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.007456, allocations: 35.67 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007457, allocations: 0 / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001184/0.007576, allocations: 81.69 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.00759, allocations: 5.875 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.007594, allocations: 0 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.007608, allocations: 3.984 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.725e-05/0.007685, allocations: 19.92 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.007691, allocations: 4 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.007717, allocations: 3.938 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.007725, allocations: 4 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.731e-05/0.007802, allocations: 160.5 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.00784, allocations: 15.91 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.007997, allocations: 95.12 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.008, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.008003, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.008006, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.008363, allocations: 397.3 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.008365, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.008411, allocations: 15.98 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.008414, allocations: 0 / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.008424, allocations: 8 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.008426, allocations: 0 / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.008427, allocations: 4.031 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.008581, allocations: 247.3 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.008597, allocations: 11.94 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.008612, allocations: 0 / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.008669, allocations: 16 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.008703, allocations: 7.922 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.008708, allocations: 4 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.008839, allocations: 192.1 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008839, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.009086, allocations: 20 kB / 384.7 MB, free: 11.94 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001081/0.01017, allocations: 439.2 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.01028, allocations: 43.61 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01028, allocations: 0 / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.01032, allocations: 23.67 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.0106, allocations: 27.94 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.01101, allocations: 279.1 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.273e-05/0.01107, allocations: 71.33 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.051e-05/0.01111, allocations: 13.03 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.01114, allocations: 20.48 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01114, allocations: 0 / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of Templates: time 0.00377/0.01491, allocations: 1.39 MB / 387 MB, free: 9.754 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.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.1848478878382593]