Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001452/0.001452, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00166/0.00166, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.374/1.374, allocations: 230.3 MB / 258 MB, free: 8.223 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.2165/0.2165, allocations: 46.88 MB / 361.3 MB, free: 4.441 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 83.86 kB / 0.4971 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2986, allocations: 66.02 MB / 0.5615 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002935/0.3015, allocations: 1.673 MB / 0.5632 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.3025, allocations: 0.5692 MB / 0.5637 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.3026, allocations: 0 / 0.5637 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.3031, allocations: 451.2 kB / 0.5642 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.3036, allocations: 299.3 kB / 0.5645 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.3039, allocations: 134.6 kB / 0.5646 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.3041, allocations: 171.6 kB / 0.5647 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.3042, allocations: 18.8 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3043, allocations: 111.7 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.3046, allocations: 239.5 kB / 0.5651 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.3046, allocations: 4 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.3047, allocations: 39.98 kB / 0.5651 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3048, allocations: 83.62 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.3049, allocations: 103 kB / 0.5653 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.3052, allocations: 262.4 kB / 0.5656 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3052, allocations: 0 / 0.5656 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3052, allocations: 0 / 0.5656 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.3052, allocations: 0 / 0.5656 GB, free: 0.4961 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.0007226/0.3059, allocations: 0.5777 MB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.306, allocations: 8.031 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.306, allocations: 44.66 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.3063, allocations: 242.7 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.3064, allocations: 384 / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3064, allocations: 12.38 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3065, allocations: 50.23 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3065, allocations: 192 / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3065, allocations: 7.938 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3065, allocations: 4 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.444e-05/0.3066, allocations: 31.91 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.3071, allocations: 359.7 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.3073, allocations: 46.55 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.3073, allocations: 20.94 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.3074, allocations: 0 / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.3074, allocations: 30.56 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.3074, allocations: 0 / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005955/0.308, allocations: 232.7 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.308, allocations: 51.41 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/0.3088, allocations: 0.8653 MB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3089, allocations: 29.7 kB / 0.5681 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.309, allocations: 224.1 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.309, allocations: 23.72 kB / 0.5683 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.3091, allocations: 17.72 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3092, allocations: 370.7 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.3093, allocations: 15.98 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.3094, allocations: 19.98 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.3095, allocations: 44.83 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3095, allocations: 0 / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002098/0.3097, allocations: 125.3 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3097, allocations: 6.031 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3097, allocations: 0 / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3097, allocations: 0 / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.3098, allocations: 19.92 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.3098, allocations: 0 / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.3099, allocations: 4 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3099, allocations: 0 / 0.5689 GB, free: 12.86 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 (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 0.0001896/0.3101, allocations: 219 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.3101, allocations: 47.72 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.3104, allocations: 129.2 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3104, allocations: 4.312 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3104, allocations: 0 / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3104, allocations: 0 / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.3109, allocations: 441.5 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3109, allocations: 4 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.311, allocations: 15.92 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.311, allocations: 0 / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.311, allocations: 4 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.311, allocations: 0 / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.311, allocations: 3.938 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.3113, allocations: 211.2 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.3113, allocations: 43.66 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3113, allocations: 4 kB / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.3114, allocations: 0 / 0.57 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.3114, allocations: 15.92 kB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3114, allocations: 0 / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006055/0.3121, allocations: 0.6511 MB / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3121, allocations: 0 / 0.5707 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3123, allocations: 27.92 kB / 0.5707 GB, free: 10.98 MB / 414.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 (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.001382/0.3137, allocations: 400 kB / 0.5711 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.3139, allocations: 51.89 kB / 0.5711 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3139, allocations: 0 / 0.5711 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.314, allocations: 23.98 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.3143, allocations: 36.72 kB / 0.5712 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3153, allocations: 0.8022 MB / 0.572 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.3158, allocations: 0.8221 MB / 0.5728 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.855e-05/0.3158, allocations: 11.77 kB / 0.5728 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.3158, allocations: 15.44 kB / 0.5728 GB, free: 8.906 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3158, allocations: 0 / 0.5728 GB, free: 8.906 MB / 414.1 MB Notification: Performance of Templates: time 0.004722/0.3206, allocations: 1.514 MB / 0.5743 GB, free: 7.395 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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: 4.665373186580837]