Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.001509/0.001509, allocations: 110 kB / 21.23 MB, free: 0.6602 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.00159/0.00159, allocations: 186.2 kB / 24.51 MB, free: 4.035 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.628/1.628, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2835/0.2835, allocations: 44.92 MB / 353.5 MB, free: 11.81 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 497.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3968, allocations: 64.3 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.004002/0.4008, allocations: 1.587 MB / 0.5504 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008396/0.4016, allocations: 425.2 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.4017, allocations: 1.312 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.4019, allocations: 17.33 kB / 0.5508 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.4021, allocations: 42.89 kB / 0.5508 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.4025, allocations: 89.22 kB / 0.5509 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.4027, allocations: 62.56 kB / 0.551 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.4028, allocations: 15.97 kB / 0.551 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/0.4028, allocations: 24.55 kB / 0.551 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.4029, allocations: 12.06 kB / 0.551 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.4029, allocations: 2.531 kB / 0.551 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.403, allocations: 35.78 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.4031, allocations: 16.23 kB / 0.5511 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.4031, allocations: 19.81 kB / 0.5511 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.4033, allocations: 80.86 kB / 0.5512 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.4033, allocations: 0 / 0.5512 GB, free: 11.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4033, allocations: 0 / 0.5512 GB, free: 11.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.4033, allocations: 1.781 kB / 0.5512 GB, free: 11.3 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.0005352/0.4039, allocations: 305.8 kB / 0.5515 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4039, allocations: 10.42 kB / 0.5515 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.404, allocations: 8.047 kB / 0.5515 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.4041, allocations: 131.5 kB / 0.5516 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4041, allocations: 1.969 kB / 0.5516 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.4042, allocations: 9.844 kB / 0.5516 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.4043, allocations: 52.11 kB / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4043, allocations: 0 / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.4043, allocations: 3.938 kB / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4043, allocations: 1.344 kB / 0.5517 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/0.4044, allocations: 21.08 kB / 0.5517 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.4048, allocations: 241.5 kB / 0.5519 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.405, allocations: 47.38 kB / 0.552 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.4051, allocations: 15.05 kB / 0.552 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.4051, allocations: 0 / 0.552 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.4052, allocations: 31.69 kB / 0.552 GB, free: 10.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.4052, allocations: 0 / 0.552 GB, free: 10.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006044/0.4058, allocations: 151.6 kB / 0.5522 GB, free: 10.33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.4058, allocations: 56.52 kB / 0.5522 GB, free: 10.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.406, allocations: 147.3 kB / 0.5524 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.406, allocations: 26.8 kB / 0.5524 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.4061, allocations: 99.64 kB / 0.5525 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.4062, allocations: 18.03 kB / 0.5525 GB, free: 10 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.4062, allocations: 17.22 kB / 0.5525 GB, free: 9.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.4064, allocations: 333.1 kB / 0.5528 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.4065, allocations: 14.86 kB / 0.5529 GB, free: 9.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.4066, allocations: 19.2 kB / 0.5529 GB, free: 9.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.4067, allocations: 47.17 kB / 0.5529 GB, free: 9.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4067, allocations: 0 / 0.5529 GB, free: 9.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002488/0.407, allocations: 89.16 kB / 0.553 GB, free: 9.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.407, allocations: 7.188 kB / 0.553 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.407, allocations: 1.562 kB / 0.553 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.407, allocations: 0 / 0.553 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.4071, allocations: 14.11 kB / 0.553 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4071, allocations: 0 / 0.553 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.4071, allocations: 3.594 kB / 0.553 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.4072, allocations: 5.281 kB / 0.553 GB, free: 9.543 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.0001193/0.4073, allocations: 122.2 kB / 0.5531 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.4073, allocations: 12.98 kB / 0.5532 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.4076, allocations: 92.34 kB / 0.5532 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4076, allocations: 5.031 kB / 0.5533 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4076, allocations: 0 / 0.5533 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4076, allocations: 0 / 0.5533 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.4081, allocations: 318.3 kB / 0.5536 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4081, allocations: 4 kB / 0.5536 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.4082, allocations: 17.3 kB / 0.5536 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4082, allocations: 1.281 kB / 0.5536 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.4082, allocations: 0 / 0.5536 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.4082, allocations: 8.953 kB / 0.5536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4082, allocations: 0 / 0.5536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.4085, allocations: 175.2 kB / 0.5538 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.4085, allocations: 10.36 kB / 0.5538 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.4085, allocations: 1.094 kB / 0.5538 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.4086, allocations: 7.5 kB / 0.5538 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.4087, allocations: 9.109 kB / 0.5538 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.4087, allocations: 6.406 kB / 0.5538 GB, free: 8.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.4088, allocations: 116.9 kB / 0.5539 GB, free: 8.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4088, allocations: 0 / 0.5539 GB, free: 8.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.4091, allocations: 14.16 kB / 0.5539 GB, free: 8.723 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.001661/0.4107, allocations: 398.4 kB / 0.5543 GB, free: 8.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.411, allocations: 42.81 kB / 0.5543 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.411, allocations: 0 / 0.5543 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.4111, allocations: 22.92 kB / 0.5544 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.4115, allocations: 22.47 kB / 0.5544 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.412, allocations: 188 kB / 0.5546 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.4123, allocations: 0.6944 MB / 0.5552 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.327e-05/0.4124, allocations: 10.48 kB / 0.5552 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.4124, allocations: 10.84 kB / 0.5553 GB, free: 7.609 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4124, allocations: 0 / 0.5553 GB, free: 7.609 MB / 398.1 MB Notification: Performance of Templates: time 0.004575/0.417, allocations: 1.125 MB / 0.5564 GB, free: 7.023 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.544703275896609]