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.001338/0.001338, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001439/0.001439, allocations: 217 kB / 24.53 MB, free: 4.012 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.44/1.44, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2138/0.2138, allocations: 46.93 MB / 361.6 MB, free: 4.18 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.00219/0.00219, allocations: 71.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2948, allocations: 66.08 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002898/0.2977, allocations: 1.617 MB / 0.5631 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009973/0.2987, allocations: 0.581 MB / 0.5637 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.2987, allocations: 0 / 0.5637 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.2989, allocations: 23.84 kB / 0.5637 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.2992, allocations: 75.62 kB / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.2994, allocations: 126.8 kB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.2996, allocations: 71.72 kB / 0.5639 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.2997, allocations: 13.81 kB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.2997, allocations: 27.92 kB / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.2998, allocations: 35.84 kB / 0.564 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.2998, allocations: 4 kB / 0.564 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.3, allocations: 103.9 kB / 0.5641 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.3, allocations: 11.94 kB / 0.5641 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.3001, allocations: 31.78 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.3003, allocations: 135.5 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3003, allocations: 3.984 kB / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3003, allocations: 0 / 0.5643 GB, free: 1.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.3003, allocations: 0 / 0.5643 GB, free: 1.422 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.0004705/0.3008, allocations: 341.5 kB / 0.5646 GB, free: 1.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.3008, allocations: 8.031 kB / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.648e-06/0.3008, allocations: 192 / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.3009, allocations: 34.75 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.3009, allocations: 8.891 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.3011, allocations: 138.4 kB / 0.5648 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-06/0.3011, allocations: 384 / 0.5648 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.3011, allocations: 4.375 kB / 0.5648 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3012, allocations: 75.64 kB / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3012, allocations: 0 / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.3013, allocations: 0 / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3013, allocations: 4 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.914e-05/0.3014, allocations: 19.98 kB / 0.5649 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.3018, allocations: 264 kB / 0.5652 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3019, allocations: 58.48 kB / 0.5652 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.3019, allocations: 20.94 kB / 0.5652 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.302, allocations: 0 / 0.5652 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.302, allocations: 42.55 kB / 0.5653 GB, free: 288 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.302, allocations: 3.938 kB / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005927/0.3026, allocations: 181.3 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.3026, allocations: 77.11 kB / 0.5655 GB, free: 0 / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.3028, allocations: 163.9 kB / 0.5657 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3028, allocations: 25.7 kB / 0.5657 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.3029, allocations: 88.14 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.3029, allocations: 27.78 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.303, allocations: 25.72 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3031, allocations: 330.8 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.3032, allocations: 27.97 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.544e-05/0.3033, allocations: 45.69 kB / 0.5662 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3034, allocations: 68.77 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3034, allocations: 3.938 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002239/0.3037, allocations: 113.6 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.3037, allocations: 4 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.3037, allocations: 4 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.3037, allocations: 0 / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.3038, allocations: 15.98 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3038, allocations: 320 / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.3038, allocations: 12 kB / 0.5664 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3039, allocations: 4 kB / 0.5664 GB, free: 15.01 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.000101/0.304, allocations: 130.8 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.304, allocations: 7.953 kB / 0.5666 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.3043, allocations: 110.3 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3043, allocations: 4 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3043, allocations: 0 / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3043, allocations: 0 / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.3048, allocations: 373.4 kB / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3048, allocations: 0 / 0.567 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.3048, allocations: 15.98 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3048, allocations: 0 / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3048, allocations: 3.938 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3048, allocations: 4 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/0.3049, allocations: 3.938 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.3051, allocations: 195.5 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.3051, allocations: 11.95 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.3051, allocations: 11.88 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.3052, allocations: 7.984 kB / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.3053, allocations: 4 kB / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3053, allocations: 0 / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.3054, allocations: 117.6 kB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3054, allocations: 0 / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.3056, allocations: 47.86 kB / 0.5674 GB, free: 13.9 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.002141/0.3078, allocations: 1.119 MB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.308, allocations: 75.88 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.308, allocations: 4 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.3081, allocations: 35.91 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.3084, allocations: 19.56 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3103, allocations: 1.53 MB / 0.5702 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3106, allocations: 0.6963 MB / 0.5708 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.562e-05/0.3107, allocations: 29.09 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.3107, allocations: 27.42 kB / 0.5709 GB, free: 10.4 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3107, allocations: 0 / 0.5709 GB, free: 10.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.3332, allocations: 3.701 MB / 0.5745 GB, free: 6.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.02, allocations: 14.92 kB / 0.5745 GB, free: 6.699 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: 13.970895398000721]