Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001732/0.001732, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002157/0.002157, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.358/1.358, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.2119/0.2119, allocations: 46.95 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 75.88 kB / 0.4969 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2908, allocations: 66.08 MB / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003025/0.2938, allocations: 1.6 MB / 0.563 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2948, allocations: 0.5343 MB / 0.5635 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.2949, allocations: 0 / 0.5635 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.2951, allocations: 19.86 kB / 0.5636 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.2953, allocations: 87.55 kB / 0.5636 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.2956, allocations: 95.12 kB / 0.5637 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.2957, allocations: 75.83 kB / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.2958, allocations: 5.828 kB / 0.5638 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.644e-05/0.2959, allocations: 39.78 kB / 0.5638 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.296, allocations: 31.84 kB / 0.5639 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.296, allocations: 4 kB / 0.5639 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.2961, allocations: 95.94 kB / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.2962, allocations: 23.88 kB / 0.564 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.2962, allocations: 23.84 kB / 0.564 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.2965, allocations: 147.5 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2965, allocations: 0 / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2965, allocations: 0 / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.2965, allocations: 0 / 0.5642 GB, free: 1.266 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005209/0.297, allocations: 341.5 kB / 0.5645 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2971, allocations: 12.03 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.263e-05/0.2971, allocations: 4.125 kB / 0.5645 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.2971, allocations: 38.72 kB / 0.5645 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.2972, allocations: 8.891 kB / 0.5645 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.2974, allocations: 144.4 kB / 0.5647 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-06/0.2974, allocations: 384 / 0.5647 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.2974, allocations: 4.375 kB / 0.5647 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.2976, allocations: 97.41 kB / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2976, allocations: 0 / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2976, allocations: 4 kB / 0.5648 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2976, allocations: 0 / 0.5648 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.613e-05/0.2977, allocations: 27.92 kB / 0.5648 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.2981, allocations: 263.9 kB / 0.5651 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.2983, allocations: 62.55 kB / 0.5651 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.2983, allocations: 24.92 kB / 0.5651 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.2983, allocations: 3.984 kB / 0.5651 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.2984, allocations: 34.56 kB / 0.5652 GB, free: 72 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.2984, allocations: 0 / 0.5652 GB, free: 72 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006709/0.299, allocations: 193.3 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.2991, allocations: 81.11 kB / 0.5654 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.2993, allocations: 156.9 kB / 0.5656 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.2993, allocations: 25.7 kB / 0.5656 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.2994, allocations: 96.09 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.2994, allocations: 27.78 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.2995, allocations: 21.72 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2996, allocations: 326.8 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.919e-05/0.2997, allocations: 31.97 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.2998, allocations: 75.33 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3, allocations: 76.8 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3, allocations: 0 / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002396/0.3002, allocations: 113.5 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3002, allocations: 8 kB / 0.5664 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3003, allocations: 0 / 0.5664 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3003, allocations: 3.938 kB / 0.5664 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3004, allocations: 19.98 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3004, allocations: 0 / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.3004, allocations: 15.98 kB / 0.5664 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3004, allocations: 0 / 0.5664 GB, free: 14.74 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 (9): * Single equations (assignments): 9 * 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 9.588e-05/0.3005, allocations: 121.8 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.3006, allocations: 7.953 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.3009, allocations: 122.3 kB / 0.5666 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3009, allocations: 0 / 0.5666 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3009, allocations: 0 / 0.5666 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3009, allocations: 0 / 0.5666 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.3014, allocations: 369.5 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3014, allocations: 0 / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.3015, allocations: 15.98 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3015, allocations: 288 / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.3015, allocations: 0 / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.3015, allocations: 7.938 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.3015, allocations: 7.922 kB / 0.567 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3018, allocations: 203.4 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.3018, allocations: 15.95 kB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.3018, allocations: 384 / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.3019, allocations: 11.92 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.3019, allocations: 4 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3019, allocations: 8 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.302, allocations: 119.2 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.302, allocations: 0 / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.3023, allocations: 39.86 kB / 0.5674 GB, free: 13.62 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 (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.002341/0.3047, allocations: 1.159 MB / 0.5685 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.3049, allocations: 71.89 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3049, allocations: 0 / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/0.305, allocations: 39.91 kB / 0.5686 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.3054, allocations: 18.52 kB / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.3072, allocations: 1.561 MB / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.033e-05/0.3073, allocations: 86.94 kB / 0.5703 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.153e-05/0.3074, allocations: 24.59 kB / 0.5703 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.3075, allocations: 35.41 kB / 0.5703 GB, free: 10.69 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3075, allocations: 7.938 kB / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.3296, allocations: 3.824 MB / 0.5741 GB, free: 6.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.42, allocations: 6.562 kB / 0.5741 GB, free: 6.852 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.32092598406598]