Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001718/0.001718, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001866/0.001866, allocations: 214.5 kB / 24.48 MB, free: 3.93 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.501/1.501, allocations: 230.5 MB / 258.1 MB, free: 7.805 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.2448/0.2448, allocations: 46.94 MB / 361.6 MB, free: 3.918 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 79.88 kB / 0.4974 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3241, allocations: 66.09 MB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003399/0.3275, allocations: 1.586 MB / 0.5635 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.3286, allocations: 0.5148 MB / 0.564 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.3287, allocations: 0 / 0.564 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.3289, allocations: 23.8 kB / 0.564 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.3292, allocations: 79.61 kB / 0.5641 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.3295, allocations: 91.09 kB / 0.5642 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.3297, allocations: 71.81 kB / 0.5642 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3298, allocations: 8 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.3298, allocations: 23.86 kB / 0.5643 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.3299, allocations: 23.86 kB / 0.5643 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.3299, allocations: 0 / 0.5643 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.33, allocations: 35.97 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.3301, allocations: 11.94 kB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.3301, allocations: 19.88 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3303, allocations: 89.97 kB / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3303, allocations: 0 / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3303, allocations: 0 / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.3303, allocations: 0 / 0.5644 GB, free: 1.375 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.0005184/0.3308, allocations: 309.9 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3309, allocations: 12.03 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.3309, allocations: 12.83 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.3311, allocations: 128.8 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.3311, allocations: 4.375 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3311, allocations: 4.375 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.3313, allocations: 54.11 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3313, allocations: 192 / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3313, allocations: 7.938 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3313, allocations: 3.984 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.3314, allocations: 23.98 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.3318, allocations: 216.6 kB / 0.5652 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.332, allocations: 46.5 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.332, allocations: 20.88 kB / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.332, allocations: 0 / 0.5652 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3321, allocations: 34.56 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3321, allocations: 0 / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005982/0.3327, allocations: 145.4 kB / 0.5654 GB, free: 260 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3327, allocations: 51.41 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3329, allocations: 156.9 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.3329, allocations: 25.7 kB / 0.5656 GB, free: 16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.333, allocations: 92.14 kB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.333, allocations: 23.78 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.3331, allocations: 13.72 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3332, allocations: 322.8 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.3333, allocations: 23.98 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.3334, allocations: 15.98 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3335, allocations: 45.02 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3335, allocations: 3.938 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002055/0.3337, allocations: 89.56 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3337, allocations: 4 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3337, allocations: 0 / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3338, allocations: 4 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.3338, allocations: 15.98 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3338, allocations: 0 / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.3339, allocations: 4 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.3339, allocations: 0 / 0.5663 GB, free: 15.32 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.0001033/0.334, allocations: 121.8 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.334, allocations: 7.953 kB / 0.5664 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.3343, allocations: 94 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3343, allocations: 4 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3343, allocations: 7.938 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3343, allocations: 0 / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.3347, allocations: 286.2 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3347, allocations: 3.938 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.3348, allocations: 15.92 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3348, allocations: 0 / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3348, allocations: 0 / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3348, allocations: 4 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3348, allocations: 3.984 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3351, allocations: 183.6 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.3351, allocations: 7.953 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3351, allocations: 4.062 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.3352, allocations: 4 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3352, allocations: 7.984 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-06/0.3352, allocations: 0 / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.3353, allocations: 115.2 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3353, allocations: 0 / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.3356, allocations: 19.94 kB / 0.5671 GB, free: 14.37 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.001697/0.3373, allocations: 432.3 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.3375, allocations: 43.97 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3375, allocations: 0 / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.3375, allocations: 19.98 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.3379, allocations: 26.25 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.3384, allocations: 215.8 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.986e-05/0.3385, allocations: 83.08 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.3386, allocations: 15.42 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3386, allocations: 0 / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Templates: time 0.003661/0.3422, allocations: 1.429 MB / 0.5693 GB, free: 12.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.094329051207751]