Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 215.5 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 83.88 kB / 0.4967 GB, free: 7.008 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4892, allocations: 66.08 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003174/0.4923, allocations: 1.619 MB / 0.5628 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.4934, allocations: 0.5226 MB / 0.5633 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.4935, allocations: 0 / 0.5633 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.4938, allocations: 95.73 kB / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.4941, allocations: 107.6 kB / 0.5635 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.4943, allocations: 95.69 kB / 0.5636 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.4945, allocations: 83.81 kB / 0.5637 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.4946, allocations: 14.66 kB / 0.5637 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.4946, allocations: 35.84 kB / 0.5637 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.4947, allocations: 59.81 kB / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.4947, allocations: 8 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.989e-05/0.4948, allocations: 43.98 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.4949, allocations: 23.91 kB / 0.5638 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.4949, allocations: 31.73 kB / 0.5639 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.4951, allocations: 107.2 kB / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4951, allocations: 0 / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4951, allocations: 0 / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.4951, allocations: 0 / 0.564 GB, free: 1.129 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.0005048/0.4956, allocations: 353.5 kB / 0.5643 GB, free: 0.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.4957, allocations: 11.97 kB / 0.5643 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.4957, allocations: 16.84 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.4959, allocations: 146.3 kB / 0.5645 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-06/0.4959, allocations: 384 / 0.5645 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.4959, allocations: 12.33 kB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.4961, allocations: 54.17 kB / 0.5645 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4961, allocations: 192 / 0.5645 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4961, allocations: 7.938 kB / 0.5645 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4961, allocations: 4 kB / 0.5645 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.003e-05/0.4962, allocations: 19.98 kB / 0.5646 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.4966, allocations: 232.5 kB / 0.5648 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.4967, allocations: 50.44 kB / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.4967, allocations: 20.94 kB / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.4967, allocations: 0 / 0.5649 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.4968, allocations: 30.56 kB / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.4968, allocations: 0 / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009143/0.4977, allocations: 241.6 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.4977, allocations: 51.41 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.498, allocations: 230.8 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.498, allocations: 29.7 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.4981, allocations: 112.1 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.4981, allocations: 27.73 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.4982, allocations: 25.66 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4983, allocations: 330.8 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.4984, allocations: 19.98 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.82e-05/0.4985, allocations: 35.97 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4986, allocations: 60.83 kB / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4986, allocations: 0 / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000204/0.4988, allocations: 105.5 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4988, allocations: 4 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4988, allocations: 0 / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4988, allocations: 0 / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.4989, allocations: 31.92 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4989, allocations: 0 / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.499, allocations: 7.984 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.499, allocations: 0 / 0.5661 GB, free: 14.72 MB / 414.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.0001199/0.4991, allocations: 133.8 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.4991, allocations: 11.95 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.4994, allocations: 119 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.4994, allocations: 4 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4994, allocations: 7.938 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4994, allocations: 0 / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005091/0.4999, allocations: 354.8 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4999, allocations: 0 / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.5, allocations: 15.98 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5, allocations: 4 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.5, allocations: 0 / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5, allocations: 480 / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5, allocations: 3.938 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.5003, allocations: 220.2 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.5003, allocations: 7.953 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.5003, allocations: 0 / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.5004, allocations: 7.984 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.5004, allocations: 7.938 kB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.5005, allocations: 7.984 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.5006, allocations: 176.2 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5006, allocations: 0 / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.5009, allocations: 23.95 kB / 0.5672 GB, free: 13.55 MB / 414.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.001825/0.5027, allocations: 483.9 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.5029, allocations: 63.91 kB / 0.5677 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5029, allocations: 0 / 0.5677 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.503, allocations: 27.98 kB / 0.5677 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.5034, allocations: 23.73 kB / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005595/0.504, allocations: 278.8 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.5041, allocations: 96.73 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.5041, allocations: 17.03 kB / 0.5681 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.5042, allocations: 19.42 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.5042, allocations: 0 / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of Templates: time 0.004412/0.5086, allocations: 1.436 MB / 0.5696 GB, free: 11.26 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.358495896682143]