Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001699/0.001699, 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.002197/0.002197, allocations: 191.4 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.525/1.525, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2466/0.2466, allocations: 44.92 MB / 351.6 MB, free: 12.24 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.CombiTable1Dv.Test25_usertab,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.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,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.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.91 kB / 495.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4602, allocations: 64.25 MB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.004493/0.4647, allocations: 1.593 MB / 0.548 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.4659, allocations: 449.9 kB / 0.5484 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.466, allocations: 1.156 kB / 0.5484 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.4663, allocations: 19.67 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.4665, allocations: 37.83 kB / 0.5484 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.467, allocations: 114.2 kB / 0.5486 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.4672, allocations: 64.03 kB / 0.5486 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4673, allocations: 15.14 kB / 0.5486 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/0.4673, allocations: 25.3 kB / 0.5487 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.18e-05/0.4674, allocations: 23.05 kB / 0.5487 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.4674, allocations: 7.969 kB / 0.5487 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.4676, allocations: 49.53 kB / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.4676, allocations: 11.08 kB / 0.5487 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.4677, allocations: 20.78 kB / 0.5488 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.4679, allocations: 105.7 kB / 0.5489 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4679, allocations: 4 kB / 0.5489 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4679, allocations: 0 / 0.5489 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.4679, allocations: 0 / 0.5489 GB, free: 11.32 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.0006031/0.4685, allocations: 381.7 kB / 0.5492 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4685, allocations: 8.312 kB / 0.5492 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.4686, allocations: 9.141 kB / 0.5492 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.4688, allocations: 187.5 kB / 0.5494 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4688, allocations: 1.594 kB / 0.5494 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.4689, allocations: 5.906 kB / 0.5494 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.469, allocations: 72.14 kB / 0.5495 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.4691, allocations: 1.344 kB / 0.5495 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4691, allocations: 0 / 0.5495 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4691, allocations: 1.25 kB / 0.5495 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.4692, allocations: 20.8 kB / 0.5495 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007103/0.4699, allocations: 299.3 kB / 0.5498 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.47, allocations: 52.73 kB / 0.5499 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.102e-05/0.4701, allocations: 22.66 kB / 0.5499 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.4702, allocations: 1.344 kB / 0.5499 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.4702, allocations: 32.09 kB / 0.5499 GB, free: 10.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.4702, allocations: 0 / 0.5499 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008014/0.471, allocations: 183.6 kB / 0.5501 GB, free: 10.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/0.4711, allocations: 78.7 kB / 0.5502 GB, free: 10.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.4713, allocations: 135.5 kB / 0.5503 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.4713, allocations: 27.23 kB / 0.5503 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.4714, allocations: 90.08 kB / 0.5504 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.4714, allocations: 30.42 kB / 0.5504 GB, free: 9.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.4715, allocations: 25 kB / 0.5505 GB, free: 9.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.4717, allocations: 328.2 kB / 0.5508 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.4718, allocations: 24.42 kB / 0.5508 GB, free: 9.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.4719, allocations: 49.34 kB / 0.5508 GB, free: 9.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.4721, allocations: 72.69 kB / 0.5509 GB, free: 9.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4721, allocations: 4.031 kB / 0.5509 GB, free: 9.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002501/0.4724, allocations: 104.1 kB / 0.551 GB, free: 9.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4724, allocations: 4.312 kB / 0.551 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4724, allocations: 1.469 kB / 0.551 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.4724, allocations: 0 / 0.551 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4726, allocations: 17.73 kB / 0.551 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4726, allocations: 0 / 0.551 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.4726, allocations: 12.5 kB / 0.551 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.4726, allocations: 9.234 kB / 0.5511 GB, free: 9.223 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.0001336/0.4728, allocations: 119.5 kB / 0.5512 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.4728, allocations: 6.359 kB / 0.5512 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.4731, allocations: 115.6 kB / 0.5513 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4731, allocations: 1.125 kB / 0.5513 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.4731, allocations: 4 kB / 0.5513 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4731, allocations: 1.156 kB / 0.5513 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.4738, allocations: 388.9 kB / 0.5517 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4738, allocations: 0 / 0.5517 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.4738, allocations: 16.42 kB / 0.5517 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4739, allocations: 3.938 kB / 0.5517 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.4739, allocations: 9.312 kB / 0.5517 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4739, allocations: 0 / 0.5517 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4739, allocations: 0 / 0.5517 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.4742, allocations: 201.5 kB / 0.5519 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.4743, allocations: 83.81 kB / 0.552 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.4743, allocations: 5.25 kB / 0.552 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.4744, allocations: 6.734 kB / 0.552 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.4744, allocations: 2.75 kB / 0.552 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.4744, allocations: 1.406 kB / 0.552 GB, free: 8.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.4745, allocations: 110.8 kB / 0.5521 GB, free: 8.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4745, allocations: 5.156 kB / 0.5521 GB, free: 8.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.4748, allocations: 25.09 kB / 0.5521 GB, free: 8.242 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 (7): * Single equations (assignments): 7 * 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.001842/0.4767, allocations: 466 kB / 0.5526 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.4769, allocations: 67.45 kB / 0.5526 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.477, allocations: 1.094 kB / 0.5526 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.477, allocations: 34.88 kB / 0.5527 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.4774, allocations: 24.22 kB / 0.5527 GB, free: 7.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.4779, allocations: 182 kB / 0.5529 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.4783, allocations: 0.6995 MB / 0.5535 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.225e-05/0.4784, allocations: 20.95 kB / 0.5536 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.4785, allocations: 16.92 kB / 0.5536 GB, free: 7.07 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4785, allocations: 1.062 kB / 0.5536 GB, free: 7.07 MB / 398.1 MB Notification: Performance of Templates: time 0.005632/0.4841, allocations: 1.579 MB / 0.5551 GB, free: 6.25 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.460013919509947]