Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.0009559/0.0009559, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001225/0.001225, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2997/0.2997, allocations: 34.26 MB / 296 MB, free: 0.7656 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.629e-05, allocations: 5.688 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002235/0.002261, allocations: 1.693 MB / 379.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007765/0.003038, allocations: 0.5608 MB / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.003103, allocations: 7.938 kB / 380.3 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.003562, allocations: 455.1 kB / 380.7 MB, free: 228 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.003966, allocations: 299.1 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.004311, allocations: 171.4 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.004538, allocations: 175.7 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.004634, allocations: 15.98 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.004745, allocations: 123.8 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.004935, allocations: 235.6 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.004951, allocations: 7.938 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.005025, allocations: 35.92 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.005109, allocations: 91.64 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.005148, allocations: 35.73 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.005358, allocations: 199.2 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.00536, allocations: 0 / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005361, allocations: 0 / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.005366, allocations: 0 / 382.1 MB, free: 14.86 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.0005369/0.005903, allocations: 0.697 MB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.005936, allocations: 8.031 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.005994, allocations: 44.66 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.006436, allocations: 256.8 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.006446, allocations: 384 / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.006469, allocations: 8.375 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.006589, allocations: 58.94 kB / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.006599, allocations: 4.188 kB / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.006609, allocations: 4.125 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.006616, allocations: 0 / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.708e-05/0.006653, allocations: 11.94 kB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.007059, allocations: 427.6 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.007214, allocations: 46.98 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.007236, allocations: 7.688 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.007256, allocations: 7.938 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.007278, allocations: 37.47 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 3.166e-06/0.007281, allocations: 7.984 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003657/0.007647, allocations: 196.7 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.007675, allocations: 51.41 kB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.008079, allocations: 0.6277 MB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.008091, allocations: 25.7 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.008225, allocations: 286.8 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.008247, allocations: 15.8 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.008278, allocations: 27.38 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.008432, allocations: 0.5508 MB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.008454, allocations: 8 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.497e-05/0.008469, allocations: 8.172 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.008511, allocations: 35.62 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.008512, allocations: 0 / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001089/0.008621, allocations: 97.34 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.008633, allocations: 4 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.008637, allocations: 4 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.008649, allocations: 0 / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.266e-05/0.008692, allocations: 8 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.008697, allocations: 0 / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.008723, allocations: 7.984 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.008728, allocations: 0 / 385.6 MB, free: 11.1 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 (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 7.438e-05/0.008802, allocations: 160.5 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.008836, allocations: 47.72 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.008976, allocations: 105.1 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008978, allocations: 0 / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.008981, allocations: 0 / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.008984, allocations: 0 / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.009321, allocations: 473.3 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009322, allocations: 0 / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.009354, allocations: 8 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.009357, allocations: 3.938 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.009363, allocations: 4.188 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.009366, allocations: 4 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.009368, allocations: 0 / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.009489, allocations: 247.6 kB / 386.7 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.009519, allocations: 39.66 kB / 386.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.009537, allocations: 0 / 386.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.94e-05/0.009576, allocations: 4 kB / 386.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.009606, allocations: 0 / 386.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.009611, allocations: 7.984 kB / 386.7 MB, free: 9.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00027/0.009881, allocations: 426.8 kB / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009881, allocations: 4 kB / 387.2 MB, free: 9.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.01008, allocations: 27.98 kB / 387.2 MB, free: 9.492 MB / 362.7 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.0008832/0.01096, allocations: 391.8 kB / 387.6 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.667e-05/0.01106, allocations: 31.69 kB / 387.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01106, allocations: 0 / 387.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.01108, allocations: 19.67 kB / 387.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.01132, allocations: 25.95 kB / 387.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.01196, allocations: 0.5848 MB / 388.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.104e-05/0.01203, allocations: 123.2 kB / 388.3 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.908e-05/0.01207, allocations: 11.98 kB / 388.4 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.01209, allocations: 20.48 kB / 388.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.0121, allocations: 0 / 388.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of Templates: time 0.003946/0.01604, allocations: 1.386 MB / 389.8 MB, free: 7 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.2552104350179434]