Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001252/0.001252, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001355/0.001355, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.455/1.455, allocations: 230.5 MB / 258.2 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.2272/0.2272, allocations: 46.95 MB / 361.6 MB, free: 3.941 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 83.86 kB / 0.4969 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2985, allocations: 66.08 MB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003039/0.3015, allocations: 1.59 MB / 0.563 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3025, allocations: 0.5459 MB / 0.5635 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.3026, allocations: 0 / 0.5635 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.3028, allocations: 27.84 kB / 0.5636 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.303, allocations: 75.62 kB / 0.5636 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.3033, allocations: 126.9 kB / 0.5638 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3035, allocations: 71.81 kB / 0.5638 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.266e-05/0.3036, allocations: 9.828 kB / 0.5638 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.3036, allocations: 27.86 kB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.3037, allocations: 35.84 kB / 0.5639 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3037, allocations: 4 kB / 0.5639 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.3039, allocations: 95.88 kB / 0.564 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.304, allocations: 19.92 kB / 0.564 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.304, allocations: 15.88 kB / 0.564 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.3043, allocations: 143.5 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3043, allocations: 7.938 kB / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3043, allocations: 0 / 0.5642 GB, free: 1.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3043, allocations: 0 / 0.5642 GB, free: 1.258 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.000484/0.3048, allocations: 337.6 kB / 0.5645 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3048, allocations: 8.031 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.014e-05/0.3048, allocations: 192 / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.3048, allocations: 38.75 kB / 0.5645 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.3049, allocations: 8.891 kB / 0.5645 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.3051, allocations: 134.4 kB / 0.5647 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-06/0.3051, allocations: 384 / 0.5647 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3051, allocations: 8.375 kB / 0.5647 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3053, allocations: 89.42 kB / 0.5648 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3053, allocations: 3.938 kB / 0.5648 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3053, allocations: 8 kB / 0.5648 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.3053, allocations: 7.922 kB / 0.5648 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.783e-05/0.3054, allocations: 23.92 kB / 0.5648 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.3058, allocations: 260 kB / 0.5651 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.3059, allocations: 50.5 kB / 0.5651 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.306, allocations: 28.94 kB / 0.5651 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.306, allocations: 0 / 0.5651 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.306, allocations: 38.56 kB / 0.5652 GB, free: 88 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.306, allocations: 0 / 0.5652 GB, free: 88 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006306/0.3067, allocations: 181.3 kB / 0.5653 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.3067, allocations: 77.11 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3069, allocations: 163.5 kB / 0.5656 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.3069, allocations: 29.7 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.307, allocations: 92.14 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.307, allocations: 23.78 kB / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.3071, allocations: 25.72 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3072, allocations: 322.8 kB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.3073, allocations: 27.98 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3074, allocations: 75.38 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3076, allocations: 76.97 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3076, allocations: 4.031 kB / 0.5662 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002316/0.3078, allocations: 101.6 kB / 0.5663 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3078, allocations: 8 kB / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3078, allocations: 0 / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3078, allocations: 0 / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.308, allocations: 15.98 kB / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.308, allocations: 0 / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.308, allocations: 11.98 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.308, allocations: 4 kB / 0.5664 GB, free: 14.79 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.0001049/0.3081, allocations: 125.7 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.3082, allocations: 7.953 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.3084, allocations: 110.4 kB / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3084, allocations: 0 / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3084, allocations: 3.984 kB / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3085, allocations: 0 / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.309, allocations: 357.5 kB / 0.5669 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.309, allocations: 4 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.309, allocations: 15.98 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.309, allocations: 3.938 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3091, allocations: 7.938 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3091, allocations: 0 / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3091, allocations: 0 / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.3093, allocations: 207.7 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.3093, allocations: 7.891 kB / 0.5672 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3094, allocations: 7.938 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.3094, allocations: 8 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3095, allocations: 7.969 kB / 0.5672 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3095, allocations: 8 kB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3096, allocations: 117.4 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3096, allocations: 0 / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.3099, allocations: 39.86 kB / 0.5673 GB, free: 13.69 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 (7): * Single equations (assignments): 7 * 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.00236/0.3123, allocations: 1.158 MB / 0.5685 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.3125, allocations: 71.89 kB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3125, allocations: 0 / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.3126, allocations: 35.86 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.313, allocations: 19.98 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.315, allocations: 1.534 MB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.384e-05/0.3151, allocations: 79.33 kB / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.063e-05/0.3151, allocations: 24.58 kB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.3152, allocations: 31.42 kB / 0.5702 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3152, allocations: 0 / 0.5702 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.3393, allocations: 3.781 MB / 0.5739 GB, free: 7.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.12, allocations: 4.062 kB / 0.5739 GB, free: 7.012 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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: 14.14479658799246]