Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001967/0.001967, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 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.002644/0.002644, allocations: 186 kB / 22.97 MB, free: 5.617 MB / 14.72 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 1.484/1.484, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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.2455/0.2455, allocations: 44.91 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.89 kB / 495.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4518, allocations: 64.25 MB / 0.5464 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003416/0.4552, allocations: 1.605 MB / 0.548 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.4562, allocations: 424.1 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.4563, allocations: 0 / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004203/0.4567, allocations: 73.33 kB / 0.5485 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.457, allocations: 68.7 kB / 0.5485 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.4575, allocations: 90.36 kB / 0.5486 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.4577, allocations: 76.5 kB / 0.5487 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.4578, allocations: 16.83 kB / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.101e-05/0.4579, allocations: 34.78 kB / 0.5487 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.458, allocations: 60.73 kB / 0.5488 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.458, allocations: 2.562 kB / 0.5488 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.4581, allocations: 44.58 kB / 0.5488 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.656e-05/0.4582, allocations: 23.11 kB / 0.5489 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.4583, allocations: 28.75 kB / 0.5489 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.4585, allocations: 97.94 kB / 0.549 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4585, allocations: 0 / 0.549 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4585, allocations: 0 / 0.549 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.4585, allocations: 1.5 kB / 0.549 GB, free: 11.27 MB / 398.1 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.0006752/0.4592, allocations: 413.5 kB / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4592, allocations: 8.312 kB / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.4593, allocations: 10.7 kB / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.4595, allocations: 199.7 kB / 0.5496 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.4596, allocations: 5.625 kB / 0.5496 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.4596, allocations: 5.953 kB / 0.5496 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.4598, allocations: 59.03 kB / 0.5496 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4598, allocations: 0 / 0.5496 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.4598, allocations: 3.984 kB / 0.5496 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4598, allocations: 1.531 kB / 0.5497 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4599, allocations: 26.38 kB / 0.5497 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.4604, allocations: 298.2 kB / 0.55 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4605, allocations: 45.84 kB / 0.55 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.4606, allocations: 15.8 kB / 0.55 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.4606, allocations: 1.406 kB / 0.55 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.4606, allocations: 36.36 kB / 0.5501 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.335e-05/0.4606, allocations: 4 kB / 0.5501 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009215/0.4615, allocations: 214.7 kB / 0.5503 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.4616, allocations: 52.56 kB / 0.5503 GB, free: 9.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.4619, allocations: 209.9 kB / 0.5505 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.4619, allocations: 39.22 kB / 0.5506 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.462, allocations: 96.36 kB / 0.5506 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.462, allocations: 31.3 kB / 0.5507 GB, free: 9.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.4621, allocations: 19.53 kB / 0.5507 GB, free: 9.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.4622, allocations: 322.4 kB / 0.551 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.409e-05/0.4623, allocations: 25.42 kB / 0.551 GB, free: 9.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.703e-05/0.4624, allocations: 34.03 kB / 0.5511 GB, free: 9.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.4626, allocations: 64.59 kB / 0.5511 GB, free: 9.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4626, allocations: 0 / 0.5511 GB, free: 9.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002616/0.4628, allocations: 103 kB / 0.5512 GB, free: 9.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4628, allocations: 8.094 kB / 0.5512 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4629, allocations: 0 / 0.5512 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.4629, allocations: 1.469 kB / 0.5512 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.463, allocations: 17.05 kB / 0.5512 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.463, allocations: 9.375 kB / 0.5513 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.463, allocations: 6.5 kB / 0.5513 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.463, allocations: 2.531 kB / 0.5513 GB, free: 9.145 MB / 398.1 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 0.0001229/0.4632, allocations: 128 kB / 0.5514 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.4632, allocations: 13.16 kB / 0.5514 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.4635, allocations: 110 kB / 0.5515 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4635, allocations: 1.156 kB / 0.5515 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4635, allocations: 5.062 kB / 0.5515 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4635, allocations: 4 kB / 0.5515 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.4641, allocations: 405.8 kB / 0.5519 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4641, allocations: 0 / 0.5519 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.4642, allocations: 29.83 kB / 0.5519 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4642, allocations: 1.125 kB / 0.5519 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4642, allocations: 5.25 kB / 0.5519 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4642, allocations: 1.25 kB / 0.5519 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4642, allocations: 4.031 kB / 0.5519 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.4646, allocations: 195.7 kB / 0.5521 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.4646, allocations: 88.8 kB / 0.5522 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.4646, allocations: 1.125 kB / 0.5522 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.4647, allocations: 11.34 kB / 0.5522 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.4648, allocations: 11.39 kB / 0.5522 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.4648, allocations: 2.375 kB / 0.5522 GB, free: 8.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.4649, allocations: 156.8 kB / 0.5524 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4649, allocations: 0 / 0.5524 GB, free: 8.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000269/0.4652, allocations: 21.72 kB / 0.5524 GB, free: 8.121 MB / 398.1 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.001788/0.467, allocations: 467.5 kB / 0.5528 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.4673, allocations: 65.17 kB / 0.5529 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4673, allocations: 0 / 0.5529 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.4674, allocations: 28.02 kB / 0.5529 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.4678, allocations: 32.75 kB / 0.553 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.4684, allocations: 257.7 kB / 0.5532 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.4688, allocations: 0.7088 MB / 0.5539 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.313e-05/0.4688, allocations: 16 kB / 0.5539 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.4689, allocations: 13.03 kB / 0.5539 GB, free: 6.902 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4689, allocations: 0 / 0.5539 GB, free: 6.902 MB / 398.1 MB Notification: Performance of Templates: time 0.005279/0.4742, allocations: 1.343 MB / 0.5552 GB, free: 6.219 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.465241025201976]