Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001536/0.001536, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002143/0.002143, allocations: 206.3 kB / 23.72 MB, free: 4.391 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.579/1.579, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2841/0.2841, allocations: 46.94 MB / 360.8 MB, free: 3.93 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 75.88 kB / 0.4967 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3991, allocations: 66.09 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.004724/0.4038, allocations: 1.609 MB / 0.5628 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4052, allocations: 0.5265 MB / 0.5633 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.4053, allocations: 0 / 0.5633 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.4058, allocations: 103.7 kB / 0.5634 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000529/0.4063, allocations: 123.6 kB / 0.5635 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.4068, allocations: 95.69 kB / 0.5636 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.407, allocations: 87.8 kB / 0.5637 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.4072, allocations: 14.66 kB / 0.5637 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.4073, allocations: 43.83 kB / 0.5637 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.4075, allocations: 71.8 kB / 0.5638 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.4075, allocations: 4 kB / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.4077, allocations: 43.98 kB / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.39e-05/0.4078, allocations: 19.92 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.258e-05/0.4078, allocations: 31.73 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.4081, allocations: 123.1 kB / 0.564 GB, free: 1.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4081, allocations: 3.984 kB / 0.564 GB, free: 1.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4081, allocations: 0 / 0.564 GB, free: 1.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.4081, allocations: 0 / 0.564 GB, free: 1.074 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.0006893/0.4088, allocations: 353.5 kB / 0.5644 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4089, allocations: 12.03 kB / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.4089, allocations: 8.891 kB / 0.5644 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.4092, allocations: 151.1 kB / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.4092, allocations: 4.375 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.4093, allocations: 12.31 kB / 0.5645 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.4095, allocations: 62.16 kB / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.4095, allocations: 8.141 kB / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.4095, allocations: 3.938 kB / 0.5646 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4095, allocations: 0 / 0.5646 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.4097, allocations: 27.97 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.4103, allocations: 236.5 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.4105, allocations: 50.44 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.4105, allocations: 12.86 kB / 0.5649 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.4106, allocations: 4 kB / 0.5649 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.165e-05/0.4106, allocations: 38.64 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.4106, allocations: 0 / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001182/0.4118, allocations: 233.1 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.4119, allocations: 51.41 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.4123, allocations: 259 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.4123, allocations: 25.7 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4124, allocations: 112.1 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.4124, allocations: 39.73 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.4125, allocations: 17.72 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.4127, allocations: 334.7 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.4128, allocations: 27.97 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.4129, allocations: 23.98 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.4131, allocations: 60.83 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4131, allocations: 4 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002951/0.4134, allocations: 97.58 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4134, allocations: 8 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.4134, allocations: 0 / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.4134, allocations: 0 / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.4136, allocations: 19.92 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.4136, allocations: 4 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.4136, allocations: 3.984 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.4137, allocations: 8 kB / 0.5662 GB, free: 14.62 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.0001536/0.4138, allocations: 137.7 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.4139, allocations: 15.91 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003651/0.4142, allocations: 123 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4142, allocations: 3.938 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4142, allocations: 0 / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4142, allocations: 0 / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007576/0.415, allocations: 346.9 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.415, allocations: 0 / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.4151, allocations: 23.98 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4151, allocations: 0 / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4151, allocations: 8 kB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4151, allocations: 480 / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4151, allocations: 3.938 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.4156, allocations: 216.2 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.4156, allocations: 15.97 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.4157, allocations: 0 / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.4158, allocations: 8 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.4158, allocations: 8.344 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.4158, allocations: 4 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.4161, allocations: 187.2 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4161, allocations: 0 / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003912/0.4165, allocations: 23.94 kB / 0.5673 GB, free: 13.44 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.001984/0.4184, allocations: 486.5 kB / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.4187, allocations: 63.89 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4187, allocations: 0 / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.4188, allocations: 32.05 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.4192, allocations: 27.67 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.4198, allocations: 287.1 kB / 0.5682 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.4199, allocations: 105.8 kB / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.367e-05/0.42, allocations: 16.95 kB / 0.5683 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.42, allocations: 19.44 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.42, allocations: 0 / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of Templates: time 0.004819/0.4248, allocations: 1.447 MB / 0.5697 GB, free: 11.11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.4841999765485525]