Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001839/0.001839, 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.002217/0.002217, allocations: 188.7 kB / 22.97 MB, free: 5.613 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.594/1.594, allocations: 225.6 MB / 251.6 MB, free: 13.35 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.2627/0.2627, allocations: 44.92 MB / 351.6 MB, free: 12.23 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.89 kB / 495.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4312, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003538/0.4348, allocations: 1.6 MB / 0.548 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008804/0.4356, allocations: 414 kB / 0.5484 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.4357, allocations: 0 / 0.5484 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.4359, allocations: 20.06 kB / 0.5484 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.4361, allocations: 30.95 kB / 0.5484 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.4364, allocations: 96.88 kB / 0.5485 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.4366, allocations: 51.06 kB / 0.5485 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.4367, allocations: 15 kB / 0.5486 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.4367, allocations: 27.8 kB / 0.5486 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.4368, allocations: 21.12 kB / 0.5486 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.4368, allocations: 3.094 kB / 0.5486 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.312e-05/0.4369, allocations: 27.19 kB / 0.5486 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.437, allocations: 19.48 kB / 0.5487 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.437, allocations: 15.94 kB / 0.5487 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.4372, allocations: 74.89 kB / 0.5487 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4372, allocations: 0 / 0.5487 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4372, allocations: 9.125 kB / 0.5488 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.4372, allocations: 0 / 0.5488 GB, free: 11.39 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005639/0.4378, allocations: 374.7 kB / 0.5491 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4378, allocations: 9.062 kB / 0.5491 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.4378, allocations: 8.328 kB / 0.5491 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.4381, allocations: 187.6 kB / 0.5493 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.4381, allocations: 5.281 kB / 0.5493 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.4381, allocations: 2.844 kB / 0.5493 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.4383, allocations: 55.47 kB / 0.5494 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4383, allocations: 0 / 0.5494 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4383, allocations: 0.9688 kB / 0.5494 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4383, allocations: 1.094 kB / 0.5494 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.702e-05/0.4384, allocations: 19.92 kB / 0.5494 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.4388, allocations: 273.8 kB / 0.5496 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.439, allocations: 47.84 kB / 0.5497 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.439, allocations: 15.12 kB / 0.5497 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.4391, allocations: 4 kB / 0.5497 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4391, allocations: 31.91 kB / 0.5497 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.4391, allocations: 0 / 0.5497 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005904/0.4397, allocations: 138.6 kB / 0.5499 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.4397, allocations: 52.53 kB / 0.5499 GB, free: 10.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.4399, allocations: 147 kB / 0.5501 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.4399, allocations: 25.7 kB / 0.5501 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.44, allocations: 99.33 kB / 0.5502 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.44, allocations: 10.03 kB / 0.5502 GB, free: 9.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.4401, allocations: 21.97 kB / 0.5502 GB, free: 9.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4402, allocations: 325.4 kB / 0.5505 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.4403, allocations: 21.73 kB / 0.5505 GB, free: 9.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.652e-05/0.4404, allocations: 18.8 kB / 0.5506 GB, free: 9.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.4405, allocations: 51.61 kB / 0.5506 GB, free: 9.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4405, allocations: 0 / 0.5506 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/0.4407, allocations: 80.34 kB / 0.5507 GB, free: 9.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4407, allocations: 5.406 kB / 0.5507 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4407, allocations: 4 kB / 0.5507 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4407, allocations: 5.281 kB / 0.5507 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.4408, allocations: 13.52 kB / 0.5507 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4408, allocations: 0 / 0.5507 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.415e-05/0.4408, allocations: 2.969 kB / 0.5507 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.4408, allocations: 1.344 kB / 0.5507 GB, free: 9.441 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 (5): * Single equations (assignments): 5 * 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.0001368/0.441, allocations: 126.1 kB / 0.5508 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.441, allocations: 7.984 kB / 0.5508 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.4413, allocations: 88.03 kB / 0.5509 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4413, allocations: 1.219 kB / 0.5509 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4413, allocations: 0 / 0.5509 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4413, allocations: 1.438 kB / 0.5509 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.4418, allocations: 344.6 kB / 0.5513 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4418, allocations: 0 / 0.5513 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/0.4418, allocations: 13.55 kB / 0.5513 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4418, allocations: 5.656 kB / 0.5513 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4418, allocations: 0 / 0.5513 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.4418, allocations: 5.281 kB / 0.5513 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4418, allocations: 3.984 kB / 0.5513 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.4421, allocations: 179.4 kB / 0.5515 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.4422, allocations: 86.66 kB / 0.5515 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.4422, allocations: 1.156 kB / 0.5515 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.4422, allocations: 10.91 kB / 0.5516 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.4423, allocations: 9.391 kB / 0.5516 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.4423, allocations: 2.844 kB / 0.5516 GB, free: 8.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.62e-05/0.4424, allocations: 109.7 kB / 0.5517 GB, free: 8.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4424, allocations: 1.469 kB / 0.5517 GB, free: 8.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.4426, allocations: 12.52 kB / 0.5517 GB, free: 8.504 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001489/0.4441, allocations: 395.4 kB / 0.5521 GB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.4443, allocations: 50.38 kB / 0.5521 GB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4443, allocations: 1.5 kB / 0.5521 GB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.4444, allocations: 29.69 kB / 0.5521 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.4448, allocations: 18.52 kB / 0.5522 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.4452, allocations: 168.6 kB / 0.5523 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.4456, allocations: 0.701 MB / 0.553 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.676e-05/0.4457, allocations: 9.297 kB / 0.553 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.4457, allocations: 11.53 kB / 0.553 GB, free: 7.398 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4457, allocations: 0 / 0.553 GB, free: 7.398 MB / 398.1 MB Notification: Performance of Templates: time 0.004257/0.4499, allocations: 1.094 MB / 0.5541 GB, free: 6.832 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.5997313698753715]