Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001409/0.001409, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001566/0.001566, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.452/1.452, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.92 MB / 361.5 MB, free: 4.195 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 79.88 kB / 0.4974 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3871, allocations: 66.08 MB / 0.562 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003822/0.3909, allocations: 1.644 MB / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3921, allocations: 0.546 MB / 0.5641 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.3922, allocations: 4 kB / 0.5641 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.3925, allocations: 71.77 kB / 0.5642 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.3929, allocations: 107.6 kB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.3932, allocations: 91.7 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.3934, allocations: 83.75 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3936, allocations: 22.59 kB / 0.5645 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.92e-05/0.3937, allocations: 31.91 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3938, allocations: 47.83 kB / 0.5646 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3938, allocations: 11.92 kB / 0.5646 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3939, allocations: 43.98 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.394, allocations: 19.92 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.394, allocations: 23.81 kB / 0.5647 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.3943, allocations: 107.2 kB / 0.5648 GB, free: 1.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.3943, allocations: 11.98 kB / 0.5648 GB, free: 1.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3943, allocations: 0 / 0.5648 GB, free: 1.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3943, allocations: 0 / 0.5648 GB, free: 1.391 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.0005776/0.3949, allocations: 333.6 kB / 0.5651 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3949, allocations: 8.031 kB / 0.5651 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.395, allocations: 12.84 kB / 0.5651 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3952, allocations: 143.7 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3952, allocations: 8.375 kB / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.3952, allocations: 384 / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.3954, allocations: 54.19 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3954, allocations: 192 / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3954, allocations: 11.94 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3954, allocations: 0 / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.3955, allocations: 27.97 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.396, allocations: 263.8 kB / 0.5656 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.3961, allocations: 50.5 kB / 0.5656 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.3961, allocations: 16.94 kB / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.3962, allocations: 0 / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3962, allocations: 34.5 kB / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3962, allocations: 0 / 0.5657 GB, free: 328 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009027/0.3971, allocations: 221.2 kB / 0.5659 GB, free: 100 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.3972, allocations: 51.41 kB / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3974, allocations: 203.3 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.3974, allocations: 25.7 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.3975, allocations: 108.1 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.3975, allocations: 27.73 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.3976, allocations: 25.72 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3977, allocations: 330.8 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.3978, allocations: 23.98 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.3979, allocations: 23.92 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.398, allocations: 68.89 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.398, allocations: 0 / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002012/0.3982, allocations: 105.5 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3982, allocations: 4 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3982, allocations: 0 / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3983, allocations: 432 / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.3984, allocations: 27.92 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3984, allocations: 0 / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.3984, allocations: 8 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3984, allocations: 0 / 0.5669 GB, free: 15.02 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.000107/0.3985, allocations: 133.8 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.3986, allocations: 11.91 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.3988, allocations: 123.3 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3988, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3989, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3989, allocations: 4 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.3994, allocations: 374.3 kB / 0.5675 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3994, allocations: 3.938 kB / 0.5675 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/0.3994, allocations: 19.98 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3995, allocations: 3.938 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3995, allocations: 3.938 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3995, allocations: 4 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3995, allocations: 0 / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.3997, allocations: 212.3 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.3998, allocations: 11.89 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.3998, allocations: 3.938 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.3998, allocations: 7.984 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3999, allocations: 8 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.3999, allocations: 3.984 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.4, allocations: 156.9 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4, allocations: 0 / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.4003, allocations: 19.92 kB / 0.5679 GB, free: 13.84 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.001688/0.402, allocations: 447.5 kB / 0.5684 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.4022, allocations: 63.89 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4022, allocations: 3.938 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.4023, allocations: 31.97 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.4026, allocations: 31.61 kB / 0.5685 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.4032, allocations: 284.9 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.4036, allocations: 0.7002 MB / 0.5695 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.4036, allocations: 19.42 kB / 0.5695 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4036, allocations: 0 / 0.5695 GB, free: 12.38 MB / 414.1 MB Notification: Performance of Templates: time 0.003903/0.4075, allocations: 1.735 MB / 0.5712 GB, free: 10.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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: 8.009536665864289]